Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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






pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group