Re: psql: Add command to use extended query protocol
Daniel Verite <daniel@manitou-mail.org>
From: "Daniel Verite" <daniel@manitou-mail.org>
To: "Peter Eisentraut" <peter.eisentraut@enterprisedb.com>
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-09T19:10:34Z
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 →
-
psql: Add command to use extended query protocol
- 5b66de3433e2 16.0 landed
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