8.0 incompatibility

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема 8.0 incompatibility
Дата
Msg-id cho04j$860$1@floppy.pyrenet.fr
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Kjetil Torgrim Homme
Дата:
Сообщение: Re: PosgreSQL is crashing with a signal 11 - Bug?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Build failure: TIMEZONE_GLOBAL undeclared