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$ (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Hi all,
I'm observing that this piece of code doesn't work
anymore in postgres 8.0

     quota  RECORD;
     FOR quota IN
        SELECT quota
        FROM foo
     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 ?

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: does not exist in postgresql-pl RPM

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