Re: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.

From: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.
Date: 2020-07-27 03:57:19
Message-ID: CAKU4AWrSWv2GfRNf4f3JuNcEg6ADe_ZedHs+h_JGaveq282usA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

>
>
> 2. Currently I want to add a new GUC parameter, if set it to true, server
> will
> create a holdable portal, or else nothing changed. Then let the user set
> it to true in the above case and reset it to false afterward. Is there
> any issue
> with this method?
>
>
I forget to say in this case, the user has to drop the holdable
portal explicitly.

--
Best Regards
Andy Fan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-07-27 04:04:45 Re: Loaded footgun open_datasync on Windows
Previous Message Andy Fan 2020-07-27 03:52:42 Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mike Noordermeer 2020-07-27 15:51:53 [pgjdbc/pgjdbc] 210b27: fix: make sure socketTimeout is enforced (#1831)
Previous Message Andy Fan 2020-07-27 03:52:42 Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.