Thread: Stored Procedure Multiple Result Sets

Stored Procedure Multiple Result Sets

From
David Harrigan
Date:
Hi,

I'm curious - is it possible for stored procedures to return multiple
result sets (similar to how a function can declare a setof refcursors
and return on those, then fetch the datasets). I've been looking
through the documentation on Stored Procedures (PostgreSQL 11 and 12)
and I can't seem to find an example of how that may be done.

Thank you.

-=david=-

I prefer encrypted and signed messages.
GPG Fingerprint: 110AF423364754E2880FADAD1C5285BFB20A22F9

No trees were harmed in the sending of this message, however, a number
of electrons were inconvenienced.

This email is sent without prejudice.

Attachment