Re: psql: Add command to use extended query protocol

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>, Pavel Stehule <pavel.stehule@gmail.com>, Corey Huinker <corey.huinker@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Pgsql-Hackers <pgsql-hackers@postgresql.org>
Date: 2022-11-11T15:09:39Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql: Add command to use extended query protocol

On 09.11.22 20:10, Daniel Verite wrote:
> 	Peter Eisentraut wrote:
> 
>> Is there a use case for a global setting?
> 
> I assume that we may sometimes want to use the
> extended protocol on all queries of a script, like
> pgbench does with --protocol=extended.

But is there an actual use case for this in psql?  In pgbench, there are 
scenarios where you want to test aspects of prepared statements, plan 
caching, and so on.  Is there something like that for psql?