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 1tuTNF-008utW-5a for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 09:36:37 +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 1tuTNC-00BEpq-QK for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 09:36:34 +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 1tuTNC-00BEpe-Gp for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 09:36:34 +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 1tuTN8-003XFP-2s for pgsql-hackers@postgresql.org; Tue, 18 Mar 2025 09:36:34 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id 903032C88BB; Tue, 18 Mar 2025 10:36:30 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Add Pipelining support in psql From: "Daniel Verite" To: "Anthonin Bonnefoy" Cc: Jelte Fennema-Nio , Michael Paquier , PostgreSQL Hackers In-Reply-To: Date: Tue, 18 Mar 2025 10:36:28 +0100 Message-Id: <9aa66158-13c3-4f57-8367-ddf6f392fca7@manitou-mail.org> X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Anthonin Bonnefoy wrote: > 0002: Allows ';' to send a query using extended protocol when within a > pipeline by using PQsendQueryParams It's a nice improvement! > with 0 parameters. It is not > possible to send parameters with extended protocol this way and > everything will be propagated through the query string, similar to a > simple query. It's actually possible to use parameters \startpipeline=20 \bind 'foo' select $1; \endpipeline ?column?=20 ---------- foo (1 row) I suspect there's a misunderstanding that \bind can only be placed after the query, because it's always written like that in the regression tests, and in the documentation. But that's just a notational preference. Best regards, --=20 Daniel V=E9rit=E9=20 https://postgresql.verite.pro/