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 1tuRQG-008YaA-GS for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 07:31:36 +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 1tuRQD-009UT8-W2 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 07:31: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 1tuRQD-009UQ8-6y for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 07:31:33 +0000 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tuRQ9-003W8U-0W for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 07:31:32 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id A427D1140171; Tue, 18 Mar 2025 03:31:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Tue, 18 Mar 2025 03:31:27 -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=1742283087; x=1742369487; bh=lDtj4uaEn8 RHlCecmNesVj74ssLt50BFyG35Wvzgc/w=; b=HOMnhWJ/cB6YPTFKzhjhHEY7VX Zz/z4SeLuLPP4a3Cg03dXxe+v2PeQC3Gv/eqKvE0b7iegXRmpWUc3V3KSrtWlDi7 Vr/PWm9akNqAKS4sITbfJk5pVZMtzJftvkBUdLQINYp3vxryXRD22C6Go4QXQl4A kZCTwXhVX1jSjGJjil8KUNjffzQX2lssjf3GmK5QuOQQe/+2OYzoxZ4KniOgW/B9 Kr739eIjOeoLmDoLyPwCXnySmDxohr5C6YIuX3H5cnGpmiie+jWFfphPTLQtXv9r 3bpcKlgijlaI0bjRCRj37EYx54Vpn3xN4QLs+Mnl9qdAY63xjxNAQv9aN7XA== 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= 1742283087; x=1742369487; bh=lDtj4uaEn8RHlCecmNesVj74ssLt50BFyG3 5Wvzgc/w=; b=3tn6wGcDh2J8gV1fGd2OBtWcRTxk6hLqcpq7e3/T1jQ1dq0Bj9q /CqxZBnwNkKpiTRtX8ySCsC2+iMhWpld6R5b7js0lo8sq5l5yT0dIyJsuE/rdJDa rVdCeIx2E1t48XPVvII446diYh+bXBdsA1ZB+k4sL2aAYm0cSYvQ88h5PlGs22yd zUC0YzpTqkhpdZphFg5T31lMuGXT5sgf/+N+t/aQdDTjSDVLLpX2LJ/R7Twnu/9g /vu454AIOxntV7nEa6LkyT5Z78LPCTVFXh/HRKvnEaUUmIGo+7rO/vqimBXwIGsq iAznLR2ZBkwZB7RUTd8gMx00upHdSwIA1qQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugedukeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep teelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepjedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepshgrmhhimhhsvghihhesghhmrghilhdrtghomhdprhgtphht thhopegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhrtghpthhtohephh htrghmfhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtoheplhhukhgrshesfhhithht lhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehmrghrkhhosehpghgrnhgrlhihiigv rdgtohhmpdhrtghpthhtoheprhhjuhhjuhduvdefsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Mar 2025 03:31:24 -0400 (EDT) Date: Tue, 18 Mar 2025 16:31:06 +0900 From: Michael Paquier To: Sami Imseih Cc: Alvaro Herrera , Greg Sabino Mullane , Lukas Fittl , PostgreSQL Hackers , Marko M , Julien Rouhaud Subject: Re: [PATCH] Optionally record Plan IDs to track plan changes for a query Message-ID: References: <202502131125.3kk6id4tcrtv@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dny/726ZrxegT17Y" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --dny/726ZrxegT17Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 13, 2025 at 10:44:33AM -0600, Sami Imseih wrote: > The reason for the change is because "query jumble" will no longer > make sense if the jumble code can now be used for other types of > trees, such as Plan. >=20 > I do agree that this needs a single-threaded discussion to achieve a > consensus. FWIW, I was playing with a sub-project where I was jumbling a portion of nodes other than Query, and it is annoying to not have a direct access to jumbleNode(). So, how about doing the refactoring proposed in v5-0002 with an initialization routine and JumbleNode() as the entry point for the jumbling, but not rename the existing files=20 queryjumblefuncs.c and queryjumble.h? That seems doable for this release, at least. I don't think that we should expose AppendJumble(), either. -- Michael --dny/726ZrxegT17Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmfZIToACgkQnvQgOdby QH053hAAkWzZqKuE3vRnxyVmdmCMLZJgQEynj8oH1X0ID1rRawna8HH8RKCNU+kj zCapp0LD/LD//TtdTFNa2jYYT9WZdnOFG81GSuPBawVIj+5FolKPZuCGgDcNldn+ GhcEjGtCTx4MLtiTDiHVJNCLx1Jc/ycLTkmU88PiCXIDOqJSezA9u4l6fTDam59j PIv46jjs04OPOxItaCwprs9ZRowAr7HM5L1ubaNUv6G/TUvbOu3YNTlTfolDRaGI Q36WxrmTy65ROuOWUvnjt2BlAsao5ubZuk+R4lDCpfacAXDnafU2ezriImFQZJoj L4GEwTGHnp5sqXTWMBEpQG/uB9AiCAHZgT0nQB3ZD8DQB9xtPhOepUlPDPuMFefe 3QSBd0hKUWX4Z2klBI7rqeG2lhL3Z/LAbbx5uwBw37A5DDBYJpclsmRpEz7Q30yU h85JwOMmqnDOi5RajnhLYaSfeWP0BhE1D5T21uD9jpcGZVkcxa8xvQ7tc6cnTDr3 7/ZbydklRd8CC+6K/z59/8BAk4fZBAN9mUc6a3OG29eHaCJb7AMuK+pEA2+/YvOc N/wQaon26v83m+dweoCJd3x1mNB1CtPH3lI37xhC6sgDGnBEeh419VZBi7I1z7iC BgRV5t0njWCoKy5vbpGYtjiyHnX8bJQM+Mej/ktlkShF0xKtxms= =bBT6 -----END PGP SIGNATURE----- --dny/726ZrxegT17Y--