Re: PL/pgSQL PERFORM with CTE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL PERFORM with CTE
Дата
Msg-id 26176.1377365616@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PL/pgSQL PERFORM with CTE  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: PL/pgSQL PERFORM with CTE  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> Oracle has a special function for returning sets from procedures - see a
> new functionality "Implicit Result Sets"
> http://tkyte.blogspot.cz/2013/07/12c-implicit-result-sets.html

That article is worth reading, because Tom K. points out exactly why
T-SQL's approach is a bad idea compared to returning refcursors.
It's not clear to me that we should be in a hurry to go there, much less
try to be 100% syntax compatible with it.
        regards, tom lane



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

Предыдущее
От: Marc Cousin
Дата:
Сообщение: Re: Performance problem in PLPgSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance problem in PLPgSQL