Re: psql: Add command to use extended query protocol - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql: Add command to use extended query protocol
Date
Msg-id a101c6b9-96ac-e309-fdab-ab74f6cc6a53@enterprisedb.com
Whole thread Raw
In response to Re: psql: Add command to use extended query protocol  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: psql: Add command to use extended query protocol
List pgsql-hackers
On 08.11.22 13:02, Daniel Verite wrote:
>> A pset variable to control the default seems reasonable as well.
>> The implication would be that if you set that pset variable there is
>> no way to have individual commands use simple query mode directly.
> +1 except that it would be a \set variable for consistency with the
> other execution-controlling variables. \pset variables control only
> the display.

Is there a use case for a global setting?

It seems to me that that would be just another thing that a 
super-careful psql script would have to reset to get a consistent 
starting state.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql: Add command to use extended query protocol
Next
From: "Karthik Jagadish (kjagadis)"
Date:
Subject: Re: Tables not getting vacuumed in postgres