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

From Daniel Verite
Subject Re: psql: Add command to use extended query protocol
Date
Msg-id b6588477-0c5c-4138-a013-cdd75566f22e@manitou-mail.org
Whole thread Raw
In response to Re: psql: Add command to use extended query protocol  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
    Peter Eisentraut wrote:

> > 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?

If we set aside "exercising the protocol" as not an interesting use case
for psql, then no, I can't think of any benefit.


Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite



pgsql-hackers by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: Commit fest 2022-11
Next
From: Maxim Orlov
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15