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 b60f9052-ec6e-4f62-b442-7a306462fc8d@manitou-mail.org
Whole thread Raw
In response to Re: psql: Add command to use extended query protocol  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: psql: Add command to use extended query protocol
List pgsql-hackers
    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.
Outside of psql, it's too complicated to parse a SQL script to
replace the end-of-query semicolons with \gp, whereas
a psql setting solves this effortlessly.


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



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: refactor ownercheck and aclcheck functions
Next
From: Andres Freund
Date:
Subject: Re: allow segment size to be set to < 1GiB