Re: RETURNS TABLE returns NULL set when called by another RETURNS TABLE

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: RETURNS TABLE returns NULL set when called by another RETURNS TABLE
Дата
Msg-id 162867791002232306h29bb12ccx1d69b0e7e6423bab@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RETURNS TABLE returns NULL set when called by another RETURNS TABLE  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
2010/2/24 Josh Berkus <josh@agliodbs.com>:
>
>> val1 is just as ambiguous. =C2=A0I think you got bit by the name collisi=
on;
>> the output parameters would start out NULLs and thus lead to the
>> described behavior, in versions before 9.0.
>
> Aha, yeah, that's probably it. =C2=A0Take this example as the reason we h=
ad
> to change the behavior ...

yes - I am very happy with this change. It is the biggest change in
plpgsql over 10 years.

Pavel

>
> --Josh Berkus
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: RETURNS TABLE returns NULL set when called by another RETURNS TABLE
Следующее
От: Oleg Serov
Дата:
Сообщение: Re: BUG #5314: Error in nested composite types in plpgsql.