Re: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt. - Mailing list pgsql-hackers

From Andy Fan
Subject Re: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.
Date
Msg-id CAKU4AWrSWv2GfRNf4f3JuNcEg6ADe_ZedHs+h_JGaveq282usA@mail.gmail.com
Whole thread Raw
In response to Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.  (Andy Fan <zhihui.fan1213@gmail.com>)
Responses Re: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.  (Andy Fan <zhihui.fan1213@gmail.com>)
List pgsql-hackers

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

pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Allows Extend Protocol support CURSOR_OPT_HOLD with prepared stmt.
Next
From: Michael Paquier
Date:
Subject: Re: Loaded footgun open_datasync on Windows