8.0 incompatibility

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 8.0 incompatibility
Date: 2004-09-08 22:12:15
Message-ID: cho04j$860$1@floppy.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi all,
I'm observing that this piece of code doesn't work
anymore in postgres 8.0

DECLARE
quota RECORD;
BEGIN
FOR quota IN
SELECT quota
FROM foo
LOOP
....
END LOOP;
....

the table foo have the field quota

The error reported is:

ERROR: record "quota" is not assigned yet
DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.

and is clear to me why. Shall not this be inserted in the release note ?

Regards
Gaetano Mendola

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-09-08 22:18:56 Re: BUG #1248: pg_dump produces grants with concatonated elements
Previous Message Devrim GUNDUZ 2004-09-08 22:07:33 Re: BUG #1247: pltcl.so does not exist in postgresql-pl RPM