public inbox for [email protected]  
help / color / mirror / Atom feed
From: David Harrigan <[email protected]>
To: PostgreSQL Novice <[email protected]>
Subject: Stored Procedure Multiple Result Sets
Date: Tue, 23 Jun 2020 09:36:51 +0100
Message-ID: <20200623083651.f74aq5ezckeblcot@daffy> (raw)

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.


Attachments:

  [application/pgp-signature] signature.asc (488B, ../20200623083651.f74aq5ezckeblcot@daffy/2-signature.asc)
  download

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Stored Procedure Multiple Result Sets
  In-Reply-To: <20200623083651.f74aq5ezckeblcot@daffy>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox