Re: returning multiple result sets from a stored procedure

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: returning multiple result sets from a stored procedure
Дата
Msg-id AANLkTinyFAvtM05i6jHZHvknUuKbchPLvoSodvdrprNF@mail.gmail.com
обсуждение исходный текст
Ответ на Re: returning multiple result sets from a stored procedure  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: returning multiple result sets from a stored procedure  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Fri, Sep 3, 2010 at 4:07 PM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> I noticed in postgres you cannot return multiple result sets from a
>> stored procedure (surprisingly as it looks like a very good dbms).
>
> That feature has been on the TODO list for years.  However, nobody has
> stepped forward to either write it, or to fund working on it.  If your
> company has programmers or money to build this feature, it could
> probably get done fairly quickly (as in, next version).

Also as mentioned upthread there are effective workarounds if you poke
around a bit.  This is a FAQ, and there are about 3-4 solid methods
(if you search the archives) that cover most problems you would be
looking at multiple results sets to solve.  I suppose this is why
there hasn't been more of an effort to do this earlier.  People asking
for this are typically dispossessed SQL server developers who haven't
quite gotten used to the postgres way of things. Not that proper
stored procedures wouldn't be great -- they would be -- but they are
not the only way to solve these types of problems.

merlin


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

Предыдущее
От: Max Bowsher
Дата:
Сообщение: Re: git: uh-oh
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Streaming a base backup from master