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 1tu7Zb-003pKm-UP for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Mar 2025 10:19:56 +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 1tu7Za-00AEj7-50 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Mar 2025 10:19:54 +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 1tu7ZZ-00AEii-Fo for pgsql-hackers@lists.postgresql.org; Mon, 17 Mar 2025 10:19:53 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tu7ZV-003Lb3-1C for pgsql-hackers@postgresql.org; Mon, 17 Mar 2025 10:19:53 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 86B271380F12; Mon, 17 Mar 2025 06:19:48 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 17 Mar 2025 06:19:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1742206788; x=1742293188; bh=99CtXV+XHa 5usPzZ0xWyAHOk8SP99Dv707hzfv1XluM=; b=UlVCZqpdQvL6xpzum7fp/SEjXB QYBqjBx6PqjG8NmTnhaeH6Jpc+uOAInBq9P23gtXdADs4Sio5UHk3DP453o12d4D 3JYZl/uh62/AyvCDNdRCyFF3IWpOqtREfdShWCmMaiX2pmChwAeHtsD6tkS3wL0N ls4ysM35gGQQRH4zkeia5I/pZb6gfM5SrCptIW/2mZccPchD6nA6MoZBiQc2IXnr /YumvdWNt/t2WtSELmAyXBiC1EHkVm2fItgleiRYMROF54Py7EQFe0QUVhZdqx7/ YFjQujELuDXhAJj65SW6VYTZ1U0pm69B6NNSTquTWl07M5gqGo0HbYjE+ayA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1742206788; x=1742293188; bh=99CtXV+XHa5usPzZ0xWyAHOk8SP99Dv707h zfv1XluM=; b=TKH53DuwZvweVm3YxdEu7H4bskl6i7EnNcJi8Y6SCvy5IP175u0 xn1Cmmtv9DHqecT7zW65YwWW7L4rPoRmxt+PuA7fv/+s2mb4G/CI5iyPAWhO/kef AMf2TmiPWxVxB5kwwzrSDX4+NpkFbfxfxKPwSUPxEEKXxZoEqKFaIR9i6hL/YOFI LQLqNHNB3lhsbxNqV2YZVAngHzOiaV+OMIS8GYbqMo7KEhm+qeMzX7iAjOxsNpdL zWOCcuoGic7O2vh4jKm2XPTjysMkYaa5QfobGIZ7pDseqgNjsjJy8HrwSPb3Bhpu KKuy9tL/7yr9I3p2oD8vwpvpK+X4rzTAilg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufeelvdehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep teelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtoheprghnthhhohhnihhnrdgsohhnnhgvfhhohiesuggrthgrugho ghhhqhdrtghomhdprhgtphhtthhopegurghnihgvlhesmhgrnhhithhouhdqmhgrihhlrd horhhgpdhrtghpthhtohepphhoshhtghhrvghssehjvghlthgvfhdrnhhlpdhrtghpthht ohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 17 Mar 2025 06:19:46 -0400 (EDT) Date: Mon, 17 Mar 2025 19:19:30 +0900 From: Michael Paquier To: Anthonin Bonnefoy Cc: Daniel Verite , Jelte Fennema-Nio , PostgreSQL Hackers Subject: Re: Add Pipelining support in psql Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OLTOzIIt3kOgIiLi" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --OLTOzIIt3kOgIiLi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 17, 2025 at 10:50:50AM +0100, Anthonin Bonnefoy wrote: > 0001: This introduces the \sendpipeline meta-command and forbid \g in > a pipeline. This is to fix the formatting options of \g that are not > supported in a pipeline. >=20 > 0002: Allows ';' to send a query using extended protocol when within a > pipeline by using PQsendQueryParams 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. Thanks for sending a new patch set. I was planning to look at the situation tomorrow, and you have beaten me to it. The split makes sense, and I'm OK with 0001. 0002 is going to require a much closer lookup. -- Michael --OLTOzIIt3kOgIiLi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmfX9zIACgkQnvQgOdby QH05iA//WioMHEVTMT8YfEvFshmuyFOqn5DzRCwCvFCy2QXqS9ja4ebkCjUCleoS U02Z0gpg9mKugd4VHRCtQNkdLBu+QEk4sLUv60tXg8/8rLl3Ft7cw/URRQnEa4/N iPkYlV6dkq9dIgpK7+K4Cy7St6RdrsPP4lXnHT9Xr9uqIPOxW13NVjKbIyd59pdj rCItZrnTM5keg+nUxkf0BelxjIHm2WvMvdevzw9iOQm9G58ipmEtwBopvU9Pu68c GjHTjwoNu9xFodklFl/iie2wmfavIr7qGS5QitYcJaUPFBFD7RgoyLs+u3Hz9Nn/ 6h5j4N7F27gG1EPEc3aAhTlqW+PBTVLVyo+TJ3hMFzt87hAbtKVDC/BRSKRy9EHN HEEKJ4S4bk2MIbinN7rWaNHPbFC7x89q5LMAniaYmTmzKgV2hAOlusZt6jJYRoOh heNUCfppTDppB06D9NfsBWhBAFidQjl7k2PIKjRAD9LwYj8i5R8pLugj1h3zYBov /wq8dYm2XBK75KRxUhGlkY5MvqOUMWKIWZdxSdhrVdB5tS/lvu7RBt/wo0aCPE7M 287XRZylCxNElBKNWPtZXpYN66WoTLkv8W0Mcf+3kPXQhDZLvIY+9Cr8IxbdfEEP F9zexbqzXY5koXVbIrKGjfNWxqQPly/Lwnz/JctsT4Wp2eoSwjQ= =6d7x -----END PGP SIGNATURE----- --OLTOzIIt3kOgIiLi--