Re: pgsql: Allow to log raw parse tree. - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Allow to log raw parse tree.
Date
Msg-id aLuFskCZhvdqDrtt@paquier.xyz
Whole thread Raw
In response to pgsql: Allow to log raw parse tree.  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: pgsql: Allow to log raw parse tree.
List pgsql-committers
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

Attachment

pgsql-committers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: pgsql: Allow to log raw parse tree.
Next
From: Tatsuo Ishii
Date:
Subject: Re: pgsql: Allow to log raw parse tree.