Re: (When) can a single SQL statement return multiple result sets?
shammat@gmx.net
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Date: 2024-04-11T05:25:59Z
Lists: 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"