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 1tq2jB-00G5Us-NR for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Mar 2025 04:20:57 +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 1tq2j9-00F1ic-4c for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Mar 2025 04:20:55 +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 1tq2j8-00F1fF-PO for pgsql-hackers@lists.postgresql.org; Thu, 06 Mar 2025 04:20:54 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tq2j5-001EKm-12 for pgsql-hackers@postgresql.org; Thu, 06 Mar 2025 04:20:54 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 8D89C1140144; Wed, 5 Mar 2025 23:20:50 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 05 Mar 2025 23:20:50 -0500 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=1741234850; x=1741321250; bh=sbPqcSGc3q kEcb7zkh9UKnikRc1XMCu9hluF4qxoteM=; b=TWx+qDs+xmBorq8m5UJ3rvXTuX ip7tgnOL3QskiLCAUlUeMXEil7UL3N9wqnz7Fx+C5dRAOn67RBc8aEuzF+nTgx2h 484OkPMUpMF1bqY50/pGbuM0GE++bo1eCEoePTh8gciQCVvEF03J+Nf/chqv549J eGsTriNgZcjaKZTRAd7Uiya6OzpXPNIN3+ScAJcOOQ7xvbvyKaCREQWbcwSbNXho 0MRM/PHZ3cxmjUt4usfRrCtOEHw5ctTFQCsv7uNtgMPyTtibH5BoB4vNlW+JUPOJ z26v+p8N++hjQ6mOX76e6uGvhsj2/nmXdUEl39+JOd19inVIEEVWTxkvUuVg== 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= 1741234850; x=1741321250; bh=sbPqcSGc3qkEcb7zkh9UKnikRc1XMCu9hlu F4qxoteM=; b=heuTDDhEQKz0sEQLOg431YnOW8MHMRGqtd7c5ea3BUyuclXNim9 B4C4PgUewMglJI5EfL8oPmShAKWTcsc/te4k2nmko52WiBG+OkF0VpXKdj6MsUZa kNPw6BRxOyp2TYbUmTK1CWyVCRjeL9TgEeoDdBTck5MxptQvID9V18XNvCivdJbB NzVzHy09NEASnI/NYzNafYvKKlR1ySUTBxkBwECh549ttMiJnj+8w1sAupgHlfFR ZPYXlS45QRttBF3Cv7ziEy57idab3Yd+0Ea2ioI98ZQ0Xu1qD396rfQoMN/MxVjD 8qp0bL4b58dvCpG8rvVC5Kd8JoCueVlYwkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdeijeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep teelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepuggrnhhivghlsehmrghnihhtohhuqdhmrghilhdrohhrghdp rhgtphhtthhopegrnhhthhhonhhinhdrsghonhhnvghfohihsegurghtrgguohhghhhqrd gtohhmpdhrtghpthhtohepphhoshhtghhrvghssehjvghlthgvfhdrnhhlpdhrtghpthht ohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Mar 2025 23:20:48 -0500 (EST) Date: Thu, 6 Mar 2025 13:20:37 +0900 From: Michael Paquier To: Daniel Verite Cc: Anthonin Bonnefoy , 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="n/6zslLqSbSesMwz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --n/6zslLqSbSesMwz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 05, 2025 at 03:25:12PM +0100, Daniel Verite wrote: > Anthonin Bonnefoy wrote: >> I do see the idea to make it easier to convert existing scripts into >> using pipelining. The main focus of the initial implementation was >> more on protocol regression tests with psql, so that's not necessarily >> something I had in mind. >=20 > Understood. Yet pipelining can accelerate considerably certain scripts > when client-server latency is an issue. We should expect end users to > benefit from it too. That was not a test case we had in mind originally here, but if it is possible to keep the implementation simple while supporting your demand, well, let's do it. If it's not that straight-forward, let's use the new meta-command, forbidding \g and \gx based on your arguments from upthread. -- Michael --n/6zslLqSbSesMwz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmfJIpUACgkQnvQgOdby QH3v4Q//UrvJaUFNoS4cwypR8feGZKT0KSxi+UNSLfPAefuHhSDpJELADRRsRDWg N/hxRIAefSjatoG6IwWsVUkkN40DlObAOQMZwaJvFlIVyNuL+vBmsWr22D6XSSHx qa3AiAW6wMCA7wKTvr3sUA4zWo3nyOrF8adLTX5mkhlCmH7ur+ETKFvEb3pZEUrV mrlf4gip8z3G1Cfgf2it2mzC0Dh6kt1L5Fd40yH3rvMrGTJhiH0nF6BbC6cWrFVZ fGEGgH6ZnTLGKsdZ7c6aX9QvUASUWewiIc+oEJo/0RmnV9pzCUGbjxRue1lLwxyJ SpQj5F+NySMrRVySMU0WxL6C05FBjB23KGbOlhJm6CW34G18UcnkM4+Q3zDasijN r7Uwb3WFnLdi5DXv4n+FiNOex00Wp1igFiAR+e2ssYXoPMtwwJwHR6H4YjaGVmSo HDWbDeVF2zyx7FA49rIZzcjsHMyPEZMeDKHWhB3rGhSRqBBW7zS87ND+byNKydkS pzCOlAZtcnImIbMBRH0ft+rkTAwb94RvZI6jGucbIYc1E8fHaATyunFSMIOf0A+o oNDPBZ9MlOLn2EsHVf6oYCAW48A4jBd5cFhcay7Mo2mQF2CPL2L5UJvE1gGjUXU2 BKfxatdk9Z+vXzkfOkOyCrstb3nEvwnnHPSXUaW0DEjSGVs37Bs= =0sfn -----END PGP SIGNATURE----- --n/6zslLqSbSesMwz--