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 1uS9P3-0042a5-DP for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Jun 2025 07:09:41 +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 1uS9P1-008rYf-2a for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Jun 2025 07:09:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uS9P0-008rYX-IZ for pgsql-hackers@lists.postgresql.org; Thu, 19 Jun 2025 07:09:39 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uS9Oz-002pjo-1N for pgsql-hackers@postgresql.org; Thu, 19 Jun 2025 07:09:38 +0000 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 38B50138050D; Thu, 19 Jun 2025 03:09:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 19 Jun 2025 03:09:36 -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=1750316976; x=1750403376; bh=gN+DxKOyBA 0ZUfp3drfLXeU3BM6Lbo6NyEg6Ywak4r4=; b=nt5RkpAwFs4LXJqJ0buOJ8Bbh6 Zj2aM+bTW+sm8zcYtciNjl9G+28igKwNDOq6pG9XnmHxRDd1TGQKvmDhcqNqmtKP PTwbforLjyyDpiU7HLPSUhq4hFvNf6DgDDqkKDasVU5msSSfHwXT09XmBUOz46r8 3P8cwR/xjX8GFy1bCEUPeEfWVjCNs59dIWY/a6kkuF+dxQKeAarcrdP2sZrTJAxz GIaD8UrvOrwh9oJN1w6IwGqqCWWYfeMwbNIISP7pxlcfHM6lo7mCbHpPwI7Yxmt3 euq3YVb5g6DR859DvBowh6YoE/8x6Ku1gLKFXS1gs9v0a3ZAxgXl7XEEMSeg== 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= 1750316976; x=1750403376; bh=gN+DxKOyBA0ZUfp3drfLXeU3BM6Lbo6NyEg 6Ywak4r4=; b=aCuLLQMNurtyHnf59RqYEUA26+IhTKT7EdSbt5YAO0KGTmJj0Ij cLHvM5BiND1O1k5bb04vPfUePFFVqDqqSTLDHXIDAI/CUXGaiCf0ExOrLCtzpJEe q0sT/zVLMTRwHKK37vFCD4HrKCH68+qUWxbkcwKYohGxw7kTVRE1KA8rg6gjzptY yIzdzed5YGnGFcG3YwWkeuk9pAWkLoQaRZKa1Bb6JUaTMwKTNfREsE+ObDMonqoi m+bvPzjWusU3NFkBWG4epHvbV8n8NMifkrABIEYC07DHtDA0Dvq7ZCRJ+ohAWak8 6LguBRMX6BtiPrX+g2G9WAlcKXlANSXUGkg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgdegkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhluc fvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecu hfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuih gvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeegfffh keeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgs pghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphhoshhtgh hrvghssehjvghlthgvfhdrnhhlpdhrtghpthhtoheprghnthhhohhnihhnrdgsohhnnhgv fhhohiesuggrthgrughoghhhqhdrtghomhdprhgtphhtthhopehpvghtvghrsegvihhsvg hnthhrrghuthdrohhrghdprhgtphhtthhopehhthgrmhhfihgushesghhmrghilhdrtgho mhdprhgtphhtthhopehvihhgnhgvshhhvddusehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Jun 2025 03:09:33 -0400 (EDT) Date: Thu, 19 Jun 2025 16:09:21 +0900 From: Michael Paquier To: Jelte Fennema-Nio Cc: Anthonin Bonnefoy , Peter Eisentraut , Greg Sabino Mullane , vignesh C , PostgreSQL Hackers Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx Message-ID: References: <3e694442-0df5-4f92-a08f-c5d4c4346b85@eisentraut.org> <20476f68-26e4-4a3b-b2e6-1c7554359fe8@eisentraut.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mkTFhKRdIKqS6Hyj" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --mkTFhKRdIKqS6Hyj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 18, 2025 at 09:15:07AM +0200, Jelte Fennema-Nio wrote: > On Wed, 18 Jun 2025 at 08:23, Anthonin Bonnefoy wrote: >> Since \bind_named is also new, we can also rename it to make it >> consistent with close meta-command. So what about renaming \bind_named >> to \bindprepared and \close to \closeprepared? >=20 > I think I still prefer \bind_named or maybe \bindnamed (depending on > what our policy for underscores in \ commands is). Not sure that there is such a policy in place. I find names with underscores easier to parse. > For that command it > should differentiate from the already existing \bind command, which is > also for prepared statements, just not for "named" prepared > statements. While close needs to differentiate from close for portals > vs close for prepared statements. Good point. I would be on board with a \close_prepared then, if that's the consensus we reach, without touching at \bind_named. We still have time to decide on the name until the release, just let's make sure to not do a rename multiple times. -- Michael --mkTFhKRdIKqS6Hyj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmhTt6EACgkQnvQgOdby QH3KqQ/9H9bkomeGL/RBiIHXe6k0qXCoZS/PoDRdxs2qtUcIeooEEUmEIULPMvh2 dYflByFUFL0vU4xgnKL1h7kGVzVshFMb/118mJtMBwRNLrvCmdvSbKdiCSDlLbnM O4X1iqlwJV2VyoAZuF+dLpLmvuY6PwAL5w7JSwDRWpGzWZirekZVxVId9AJruuzN GgKlMEQ98IDK5MrQfZqXNoodoLXlGBzI6fJKIl5wHynxuD8Ryyurl82t9RGm1Z+E tQD1nHI2O/w3C9O0tO5TkW2v8vRYofkLOktOhI+VLx2/W4do6Pge7pfBpdFuLsy4 +VRkmynDhzuZnysokfAAY08eCbDehQQcBQawE4yGauCZRF42KEiMRB7PDsKPp+7c GyolPTTqnTIMmAB/IFN5YCFKecZGj+bI6LStZO1wlXUFmrILZFS3hae09DfSX/2N S6TXaBgLjH2v+Zjuq83Bpm+IYQoJDHIqeQsSZE6YRCBuA59jq71RxkV6uv8To6mn +FZZlCbOaT/2b7Mm2QGqOZE0CMQoSOsswnFF/szHBh1e+dKnXRZs2vYkPomxsijW pD+Yq2AsM7PmrWy/lPgsISpFbUQRhL9ky/9m9Z1Us6lPHGj0JUgdRuUKQlUF2K+n XlxlbRj3B3KOA1q3NTvaj7Ofj4h5gdXXT9rNamTHcUvbxe9W8Z0= =GQgz -----END PGP SIGNATURE----- --mkTFhKRdIKqS6Hyj--