Re: Using scalar function as set-returning: bug or feature?

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Using scalar function as set-returning: bug or feature?
Дата
Msg-id CAL9smLALdNruR_3_Oqw+DENyadbzVt0i3fVKpxNO=BoZjadJYA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using scalar function as set-returning: bug or feature?  ("Tels" <nospam-pg-abuse@bloodgate.com>)
Список pgsql-hackers
On Tue, Feb 13, 2018 at 12:30 PM, Tels <nospam-pg-abuse@bloodgate.com> wrote:
I'm not sure if you mean exactly the scenario as in the attached test
case, but this works in plpgsql, too, and would be a shame to lose.

OTOH, one could also write:

  SELECT INTO ba, bb  a,b FROM foo(1);

and it would still work, or wouldn't it?

Yes.  The code in test.psql shouldn't pass code review.


.m

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

Предыдущее
От: "Tels"
Дата:
Сообщение: Re: Using scalar function as set-returning: bug or feature?
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: postgres_fdw: perform UPDATE/DELETE .. RETURNING on a join directly