Re: SRF rescan testing

Поиск
Список
Период
Сортировка
От Valentine Zaretsky
Тема Re: SRF rescan testing
Дата
Msg-id 3CF37CB4.8010900@apex.dp.ua
обсуждение исходный текст
Ответ на troubleshooting pointers  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Tom Lane wrote:

>>3. PL/pgSQL support for returning sets -- this seems to me like an 
>>important item if SRFs are to be useful to the masses. Any pointers on 
>>how to approach this would be appreciated.
>>
>
>Does Oracle's pl/sql support this?  If so what does it look like?
>
Oracle supports "pipelined functions". These functions use operator 
PIPE(set%rowtype)  to return a row.
Syntax for queries using pipelined functions:

SELECT f1,f2,... FROM TABLE(func(p1,p2, ...));


It seems that the most important thing to implement for PL/pgSQL 
functions returning sets is restoring of the function execution state in 
the next call


WBR, Valentine Zaretsky



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: SRF rescan testing
Следующее
От: "Chris Hodgson"
Дата:
Сообщение: Re: Null values in indexes