Re: pgsql: Allow to log raw parse tree.

2025-09-05 Thread Tatsuo Ishii
> 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. Regression diff shows: diff -U3 /home/ec2-user/bf/root/HEAD/pgsql/src/test/regres

Re: pgsql: Allow to log raw parse tree.

2025-09-05 Thread Michael Paquier
On Fri, Sep 05, 2025 at 10:52:55PM +, 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 > det

pgsql: Allow to log raw parse tree.

2025-09-05 Thread Tatsuo Ishii
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 starti