Re: SRF in SFRM_ValuePerCall mode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SRF in SFRM_ValuePerCall mode
Дата
Msg-id 977.1209478954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SRF in SFRM_ValuePerCall mode  ("dv @ nabble" <dvnabble@gmail.com>)
Список pgsql-hackers
"dv @ nabble" <dvnabble@gmail.com> writes:
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> If you're not joining to the function result, and you don't need the
>> ability to determine its result type on the fly, you could declare it
>> as returning a specific rowtype and then call it in the targetlist:
>> 
>> select vpc();

> You mean make the function return the only row?

No, I'm pointing out that ValuePerCall SRFs can be called from the
targetlist.
        regards, tom lane


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