Search Postgresql Archives

Re: is it possible to recover more than one recordset or cursor from a function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



guillermo arias wrote:
>
> is it possible to recover more than one recordset or cursor 
> from a function?
> I use to do it in ms sql server, but it is a mistery for me 
> in postgre.

CREATE FUNCTION returns2cursors(OUT c1 refcursor, OUT c2 refcursor)
LANGUAGE plpgsql AS ....

Yours,
Laurenz Albe


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux