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/