Re: returning multiple result sets from a stored procedure

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: returning multiple result sets from a stored procedure
Дата
Msg-id 1284094156.31815.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: returning multiple result sets from a stored procedure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On tor, 2010-09-09 at 16:16 -0400, Tom Lane wrote:
> You might care to go back and re-read some of the extensive prior
> threads about this, but to my mind the main thing that would justify
> inventing a separate PROCEDURE facility is if procedures were to
> execute outside the transaction system, so that they could start and
> stop transactions for themselves.

Given what the SQL standard says, a "procedure" certainly has to be
defined as syntactic sugar for "function returns void".  Special
transaction handling would then have to be an additional attribute of
the procedure.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: returning multiple result sets from a stored procedure
Следующее
От: Darren Duncan
Дата:
Сообщение: Re: returning multiple result sets from a stored procedure