Re: Postgres 11 procedures and result sets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Kohnert <nospam001-lists(at)jan-kohnert(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres 11 procedures and result sets
Date: 2018-10-01 23:57:08
Message-ID: 4493.1538438228@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Kohnert <nospam001-lists(at)jan-kohnert(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harry B 2018-10-02 04:41:20 Postgres 11, partitioning with a custom hash function
Previous Message derek 2018-10-01 22:20:49 Re: CREATE TABLE AS SELECT hangs