Re: Add Pipelining support in psql - Mailing list pgsql-hackers

From Daniel Verite
Subject Re: Add Pipelining support in psql
Date
Msg-id f873e847-8e9b-4257-8eca-66ec35b03f4d@manitou-mail.org
Whole thread Raw
In response to Re: Add Pipelining support in psql  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
    Michael Paquier wrote:

> Perhaps an \extended command that behaves outside a pipeline makes
> sense to force the use of queries without parameters to use the
> extended mode, but I cannot get much excited about the concept knowing
> all the meta-commands we have now (not talking about the pipeline
> part, which is different, as we can treat queries in batches).

When psql started supporting the extended query protocol, the question
of enabling it more globally rather than query-by-query was discussed
a bit [1]. The idea was to switch to it with a setting or a variable
rather than a metacommand.
Some pros and cons were mentioned in the thread, but on the whole
it was not convincing enough to get implemented.

[1]
https://www.postgresql.org/message-id/e8dd1cd5-0e04-3598-0518-a605159fe314%40enterprisedb.com


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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: race condition in pg_class
Next
From: Andres Freund
Date:
Subject: Re: Add -k/--link option to pg_combinebackup