From: Rod Taylor <pg@rbt.ca>
To: patkins <patkins@killinglyschools.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Procedure failing after upgrade
Date: Wed, 05 May 2004 13:49:57 -0400
Message-ID: <1083779396.60668.10.camel@jester> (raw)
In-Reply-To: <20040504133209.3EC83D1CAB0@svr1.postgresql.org>
References: <20040504133209.3EC83D1CAB0@svr1.postgresql.org>
On Tue, 2004-05-04 at 09:32, patkins wrote:
> All,
>
> I just upgraded to the latest version from 7.2.x and now a procedure is failing.
>
> Please tell me what I'm doing wrong!
Please include the actual error message produced. That said, I'm getting
an interesting error. It appears as if the integer array type is being
confused for a boolean.
WHILE id_array[count_it] LOOP
It is expecting WHILE <boolean> LOOP. Make the id_array[count_it]
expression into a boolean rather than an integer. Something like:
WHILE id_array[count_it] IS NOT NULL LOOP
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pg@rbt.ca, patkins@killinglyschools.org
Subject: Re: Procedure failing after upgrade
In-Reply-To: <1083779396.60668.10.camel@jester>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox