Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tut79-00DQCA-3t for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Mar 2025 13:05:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tut77-004CFc-Qo for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Mar 2025 13:05:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tut77-004CFK-HT for pgsql-hackers@lists.postgresql.org; Wed, 19 Mar 2025 13:05:41 +0000 Received: from dverite2024.planet-service.net ([185.16.44.252] helo=mail.verite.pro) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tut73-003lAV-2D for pgsql-hackers@postgresql.org; Wed, 19 Mar 2025 13:05:41 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id D35FA2C0C70; Wed, 19 Mar 2025 14:05:37 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: "Daniel Verite" Subject: Re: Add Pipelining support in psql To: "Michael Paquier" Cc: Jelte Fennema-Nio , Anthonin Bonnefoy , PostgreSQL Hackers In-Reply-To: Date: Wed, 19 Mar 2025 14:05:34 +0100 Message-Id: X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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, --=20 Daniel V=E9rit=E9=20 https://postgresql.verite.pro/