pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Allow to log raw parse tree.
Date: Sat, 6 Sep 2025 09:52:02 +0900
Message-ID: <aLuFskCZhvdqDrtt@paquier.xyz> (raw)
In-Reply-To: <E1uufId-000gs7-1c@gemulon.postgresql.org>
References: <E1uufId-000gs7-1c@gemulon.postgresql.org>

On Fri, Sep 05, 2025 at 10:52:55PM +0000, Tatsuo Ishii wrote:
> Allow to log raw parse tree.
> 
> This commit allows to log the raw parse tree in the same way we
> currently log the parse tree, rewritten tree, and plan tree.
> 
> To avoid unnecessary log noise for users not interested in this
> detail, a new GUC option, "debug_print_raw_parse", has been added.
> 
> 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=prion&dt=2025-09-05%2023%3A03%3A05

I did not look into the details, but this usually points to a
use-after-free problem.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)  latest in thread

Message-ID: <aLuFskCZhvdqDrtt@paquier.xyz>
Permalink:  ../aLuFskCZhvdqDrtt@paquier.xyz/
Also on:    postgresql.org/message-id/aLuFskCZhvdqDrtt@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, ishii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Allow to log raw parse tree.
  In-Reply-To: <aLuFskCZhvdqDrtt@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox