Re: Raw parse tree is not dumped to log

Tatsuo Ishii <ishii@postgresql.org>

From: Tatsuo Ishii <ishii@postgresql.org>
To: li.evan.chao@gmail.com
Cc: pgsql-hackers@postgresql.org
Date: 2025-08-20T01:25:43Z
Lists: pgsql-hackers
> On 2025/8/18 17:13, Tatsuo Ishii wrote:
>>   +	if (unlikely(Debug_print_parse))
>>
>> This should be:
>>
>> +	if (unlikely(Debug_print_raw_parse))
> 
> My bad! Such a stupid mistake. Fixed. And I did a test by turning
> on/off the flag in postgres.conf, and raw parse tree is only dumped
> when "debug_print_raw_parse" is "on".

Thanks for updating the patch.
v5 patch looks good to me. If there's no objection, I plan to push the
patch in early September.

Best regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp



Commits

  1. Allow to log raw parse tree.