Re: returning multiple result sets from a stored procedure

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: returning multiple result sets from a stored procedure
Дата
Msg-id AANLkTin4hPHBp9rRV5JZmd_Wrb+T94NmaZ8S-OCVUqf5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: returning multiple result sets from a stored procedure  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Thu, Sep 2, 2010 at 7:17 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from John Adams's message of jue sep 02 18:25:45 -0400 2010:
>> I noticed in postgres you cannot return multiple result sets from a stored
>> procedure (surprisingly as it looks like a very good dbms).
>
> If you're really intent about doing this, you can emulate it by
> returning a set of refcursors.

Also arrays can work pretty well, depending on how much data there is
and where it's going.

merlin


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

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Streaming a base backup from master