Re: Raw parse tree is not dumped to log

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Raw parse tree is not dumped to log
Date: 2025-08-18 09:27:05
Message-ID: 983879b0-777c-4854-9cf0-0f4645cd6e1c@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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".

Best regards,

--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

Attachment Content-Type Size
v5-0001-Add-support-for-dumping-raw-parse-tree-with-debug.patch text/plain 6.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-08-18 09:31:14 Re: Remove useless pointer advance in StatsShmemInit()
Previous Message Peter Eisentraut 2025-08-18 09:16:28 Re: Detect buffer underflow in get_th()