Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
> On 04/09/10 17:16, Merlin Moncure wrote:
>> Curious: is mulitset handling as you see it supported by the current
>> v3 protocol?
> If a multiple return sets from a procedure are returned just like
> multiple return sets from multiple queries, that's already covered by
> the protocol.
Well, the protocol says you can do it, but it would likely require
significant work to make clients deal with it sanely.
Also, the part of the protocol document Heikki is quoting is for the
legacy "simple query" mode. We deliberately designed this behavior
*out* of the extended query mode. So for example you couldn't use
out-of-line parameters with such a feature, unless there's a protocol
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Peter Eisentraut||Date: 2010-09-05 18:26:03|
|Subject: Re: returning multiple result sets from a stored
|Previous:||From: Heikki Linnakangas||Date: 2010-09-05 18:05:18|
|Subject: Re: returning multiple result sets from a stored procedure|