Re: dynamic result sets support in extended query protocol

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: dynamic result sets support in extended query protocol
Дата
Msg-id 20220112102055.fn5gpnt2lw6ii35o@jrouhaud
обсуждение исходный текст
Ответ на Re: dynamic result sets support in extended query protocol  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: dynamic result sets support in extended query protocol  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: 2022-01 Commitfest
Следующее
От: Dave Page
Дата:
Сообщение: Re: sepgsql logging