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 1uuhAD-00FYj2-VN for pgsql-committers@arkaria.postgresql.org; Sat, 06 Sep 2025 00:52:23 +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 1uuhAB-00BNLs-SG for pgsql-committers@arkaria.postgresql.org; Sat, 06 Sep 2025 00:52:20 +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 1uuhAB-00BNLk-D9 for pgsql-committers@lists.postgresql.org; Sat, 06 Sep 2025 00:52:20 +0000 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uuhA9-000lUb-1h for pgsql-committers@lists.postgresql.org; Sat, 06 Sep 2025 00:52:18 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id DE953EC0289; Fri, 5 Sep 2025 20:52:16 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Fri, 05 Sep 2025 20:52:16 -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=1757119936; x=1757206336; bh=6HXJvoUNzL mfm0pDHT2CS5GbH07ieKR7J6HECv6vVBI=; b=aDUaG8R0YTvhwtEviOPMVFC1Hc /gu36AczOGD0zggCESYninfHao9uVwJk+758CgsfQtDegAVNg1YgHGdK49FWEvK5 OvfyFX6IpAWuJB4AAyhJmW3LFiDjXSdksPnVrN6cEVKT2lV/7NhAyhHHzTB1kZnb QDFqE5rukzTSvo0rYCC4Pjgs5yys/SO+olRXza4RUw8gAY40APbeNWcUJC2GxsLA d/RdXjUWf0K494jBNkmi03acIe5yp68WKcL8UX8bTIUFj7FxLtLzflMDOfo6HItq nx8hkZcgOnyskdTTNty18T/EQVa5pxwybmeHaofIbmjHqefBdkV1wTvNNUQw== 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= 1757119936; x=1757206336; bh=6HXJvoUNzLmfm0pDHT2CS5GbH07ieKR7J6H ECv6vVBI=; b=XkqpiKCQiK6HuBmkbrpvvXmdCXPjVZ+cluJgyfDx6cTWdm1OSMN XSHlMKS/AhUxofPBuwyA7/+/M8TBLKU94u75UPxV9HUwNCo1IrD9df4ihJrVjugf FngHzz/iYQzEaO3MF7BI+XesY/cRd0R5p67k6i/hkTGTRpaSKpP4Ogr5YBCnjQC7 wGOcpR4fcfwe894qrcEdu7OycxKTAFMWURdZ8x8n7ZdbOggAyfBvz5ozaPrblvmU UropItIxWErxcVqXctWQnuGtVxawG+oBKjcr66LpY8TRquLz5BD/GPtbh7j/uYir 2m5d4Kt9uH9FIFbpbah77lhVpEyJgNiOR3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddutdefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtroertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeeuheejfeeliefgleehteevgedvvdef tdevjeevleelteegkeetueekteeggfevueenucffohhmrghinhepphhoshhtghhrvghsqh hlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepvddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepihhshhhiihesphhoshhtghhrvghsqhhl rdhorhhgpdhrtghpthhtohepphhgshhqlhdqtghomhhmihhtthgvrhhssehlihhsthhsrd hpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Sep 2025 20:52:15 -0400 (EDT) Date: Sat, 6 Sep 2025 09:52:02 +0900 From: Michael Paquier To: Tatsuo Ishii Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Allow to log raw parse tree. Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kgAEpA1PYdl6ZqEJ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kgAEpA1PYdl6ZqEJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 05, 2025 at 10:52:55PM +0000, Tatsuo Ishii wrote: > Allow to log raw parse tree. >=20 > This commit allows to log the raw parse tree in the same way we > currently log the parse tree, rewritten tree, and plan tree. >=20 > To avoid unnecessary log noise for users not interested in this > detail, a new GUC option, "debug_print_raw_parse", has been added. >=20 > When starting the PostgreSQL process with "-d N", and N is 3 or higher, > debug_print_raw_parse is enabled automatically, alongside > debug_print_parse. prion is complaining here: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dprion&dt=3D2025-0= 9-05%2023%3A03%3A05 I did not look into the details, but this usually points to a use-after-free problem. -- Michael --kgAEpA1PYdl6ZqEJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmi7hbIACgkQnvQgOdby QH1PYhAAhLtHV9deBuLxY9thP+6ntMHuLOFIfwMBDKIWfJ4iTW8kL4I8gLhmBfgU /mLt+qRItU03a5dEIZ9ntIdxH0aXC+oTxXKOiY6F9NxiAK/UM9mUqwhGiFzjQMET JILmAQ7/Ysd321S7lAXJYndFo4uE9FIsl+6oU+eVzL05vGI2sFdqm10/Chi0zymQ adK0FM6z8v9a1kZn0oMKUxdNk0HgbxIe2sLDCIxhWYl2vEZmdGM44QNDqhelzL3h 86qW8quDBa18JT1OZAC8yjrIBA6PzgUOcFQWKNS6TZmoFg7UKwhuSoaciMt0BGvB wr0TIrCKrtYPWWISSko5DHcfa4tF52DJA04EVfrFY1peJuhLp+gyhmDjdmqozbsq YBUzG+yo7fQ3yAVl9wJcAtSGfdG63sfcP/Jri955LJ0b94l2Fm8Sxd7Ux6JglL0r xIO5WTGunn/fs0v0elNFm0RUjxhxuTaQsaM/7M3BNMARhTqMj23/VPC1NhpDWQmL Q0ZJn7+MRyGCX2BZAWqBBQnel+ARFtxcGOhj8vHf3bpXAI/xWu6LmqzzvQtdfIyH OMaELN87OuIOr+qidv6+F0Nz6GqtQso1Ff0m0nRURL8i1OhUGG4Q72+pazBjzlr+ Dg7oxoES1iuCggkoRb4D7sW86JOY/oW738w9teE2C91nggDrtV4= =yTv2 -----END PGP SIGNATURE----- --kgAEpA1PYdl6ZqEJ--