Re: (When) can a single SQL statement return multiple result sets?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: (When) can a single SQL statement return multiple result sets?
Дата
Msg-id 9ef79e99-fc9c-4328-b272-31d9011734a4@eisentraut.org
обсуждение исходный текст
Ответ на Re: (When) can a single SQL statement return multiple result sets?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 11.04.24 01:02, Tom Lane wrote:
>> And if not, why can't I write a stored procedure
>> or function that returns multiple result sets?
> 
> [ shrug... ] Lack of round tuits, perhaps.  We don't have any
> mechanism today whereby a stored procedure could say "please ship
> this resultset off to the client, but I want to continue afterwards".
> But you can do that in other RDBMSes and probably somebody will be
> motivated to make it possible in Postgres.

The development of this feature was the subject of this thread: 
https://www.postgresql.org/message-id/flat/6e747f98-835f-2e05-cde5-86ee444a7140@2ndquadrant.com

But it has not concluded successfully yet.




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

Предыдущее
От: Jan Behrens
Дата:
Сообщение: No error message/code for commands after libpq pipeline abortion
Следующее
От: Jan Behrens
Дата:
Сообщение: Re: (When) can a single SQL statement return multiple result sets?