From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Kohnert <nospam001-lists@jan-kohnert.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Postgres 11 procedures and result sets
Date: Mon, 01 Oct 2018 19:57:08 -0400
Message-ID: <4493.1538438228@sss.pgh.pa.us> (raw)
In-Reply-To: <10467048.Hd5HFnr8GS@kohni-mobil>
References: <10467048.Hd5HFnr8GS@kohni-mobil>
Jan Kohnert <nospam001-lists@jan-kohnert.de> writes:
> I have a question regarding the new stored procedures in Postgres 11 (I tested
> beta4):
> I'd like to know if it is somehow possible to get a (or possibly more) result
> set from selects within the SP, as it is possible in MariaDB, MySQL, or SQL
> Server.
Not there as of v11, other than the refcursor approach you already know
about. We hope to have something nicer worked out for v12. There
are a lot of compatibility issues to sort through :-(
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, nospam001-lists@jan-kohnert.de
Subject: Re: Postgres 11 procedures and result sets
In-Reply-To: <4493.1538438228@sss.pgh.pa.us>
References: <10467048.Hd5HFnr8GS@kohni-mobil> <4493.1538438228@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox