Re: (When) can a single SQL statement return multiple result sets? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: (When) can a single SQL statement return multiple result sets?
Date
Msg-id 43e14d4d-6ed9-4140-a630-5a2b1d5a9d87@gmx.net
Whole thread Raw
In response to Re: (When) can a single SQL statement return multiple result sets?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: (When) can a single SQL statement return multiple result sets?
List pgsql-general
Tom Lane schrieb am 11.04.2024 um 01:02:
> Jan Behrens <jbe-mlist@magnetkern.de> writes:
>> While writing a PostgreSQL client library for Lua supporting
>> Pipelining (using PQsendQueryParams), I have been wondering if there
>> are any single SQL commands that return multiple result sets.
>
> Right now, I don't think so.

Hmm, what about functions returning multiple refcursors?

From a client library point of view, I think that would qualify as
"multiple result sets"





pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: (When) can a single SQL statement return multiple result sets?
Next
From: Andreas Wagner
Date:
Subject: Re: Two server instances on one server