Re: dynamic result sets support in extended query protocol - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: dynamic result sets support in extended query protocol
Date
Msg-id 20220112102055.fn5gpnt2lw6ii35o@jrouhaud
Whole thread Raw
In response to Re: dynamic result sets support in extended query protocol  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: dynamic result sets support in extended query protocol
List pgsql-hackers
Hi,

On Mon, Aug 30, 2021 at 02:11:34PM -0700, Zhihong Yu wrote:
> On Mon, Aug 30, 2021 at 1:23 PM Peter Eisentraut <
> peter.eisentraut@enterprisedb.com> wrote:
> 
> > rebased patch set
> 
> +    <term><literal>WITH RETURN</literal></term>
> +    <term><literal>WITHOUT RETURN</literal></term>
> +    <listitem>
> +     <para>
> +      This option is only valid for cursors defined inside a procedure.
> 
> Since there are two options listed, I think using 'These options are' would
> be better.
> 
> For CurrentProcedure(),
> 
> +       return InvalidOid;
> +   else
> +       return llast_oid(procedure_stack);
> 
> The word 'else' can be omitted.

The cfbot reports that the patch doesn't apply anymore:
http://cfbot.cputube.org/patch_36_2911.log.

Since you mentioned that this patch depends on the SHOW_ALL_RESULTS psql patch
which is still being worked on, I'm not expecting much activity here until the
prerequirements are done.  It also seems better to mark this patch as Waiting
on Author as further reviews are probably not really needed for now.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: 2022-01 Commitfest
Next
From: Dave Page
Date:
Subject: Re: sepgsql logging