public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
From: John Allgood <john@turbocorp.com>
To: Tom Lane <tgl@redhat.com>, rhdb@sources.redhat.com
Subject: Re: Problems with RHDB 3.0
Date: Mon, 01 Nov 2004 16:52:00 -0000	[thread overview]
Message-ID: <418669C6.4090709@turbocorp.com> (raw)
In-Reply-To: <14573.1099326986@sss.pgh.pa.us>

Hello Again

This was a problem you had responded to on the postgres novice list. You 
had responded back to Terry Tucker it was an array question dealing with 
triggers. Terry had ask me to check about the next version of Redhat 
Database since that is the version we had decided to go with. I 
appreciate you feedback on this. Any other comments are welcome. Below 
is the email to the novice list just to refresh you memory.

Thanks Again

Subject:
[NOVICE] Array Question
From:
Terry Lee Tucker <terry@esc1.com>
Date:
Fri, 29 Oct 2004 21:08:38 -0400

To:
pgsql-novice@postgresql.org


Greetings:

I have a customer history table that contains several integer and decimal 
arrays for recording sales and load count information for each of the 12 
months. I'm trying to modify one of the arrays in a pre-update trigger. I'm 
looping as in:

for x in 1..12 loop
	array[x] = <some_value>;
	.
	.
	.
end loop;

This will not compile. I get the following error:

ERROR:  syntax error at or near "["

If I comment that line out, all works well. Any ideas?

Thanks...



Tom Lane wrote:

>John Allgood <john@turbocorp.com> writes:
>  
>
>>    We have discovered a problem with plpgsql on Redhat Database 3.0 The 
>>problem is fixed with Postgres 7.4. Is there is a new version of Redhat 
>>Database on the horizon and what can we expect for the new version. "7.4 
>>or 8.0.".  We are trying to get an idea on what direction we need to go in.
>>    
>>
>
>Well, the road map looks like this:
>
>RHEL3 will use rh-postgresql 7.3.* until end of life; an upgrade to a
>new major Postgres version is out of the question because of our
>backward-compatibility requirements for that product.
>
>Fedora Core 3 (to become RHEL4) currently uses Postgres 7.4.*, and I am
>surely hoping that PG 8.0 is out in time that it can be the long-term-
>supported version for RHEL4.  Note that we have dropped the "RHDB"
>branding in this version and gone back to calling it plain PostgreSQL.
>
>As far as your immediate problem goes, depending on what the issue is,
>it might or might not be feasible to back-port a fix into rh-postgresql
>7.3.  You didn't give any details...
>
>			regards, tom lane
>			Red Hat Database project
>
>  
>

  reply	other threads:[~2004-11-01 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 12:21 John Allgood
2004-11-01 16:36 ` Tom Lane
2004-11-01 16:52   ` John Allgood [this message]
2004-11-01 17:01     ` Tom Lane
2004-11-02  0:22       ` Justin Clift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=418669C6.4090709@turbocorp.com \
    --to=john@turbocorp.com \
    --cc=rhdb@sources.redhat.com \
    --cc=tgl@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).