Re: Fixes a trivial bug in dumped parse/query/plan trees

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-08-25T08:57:09Z
Lists: pgsql-hackers

> On Aug 25, 2025, at 16:02, Daniel Gustafsson <daniel@yesql.se> wrote:
> 
> 
> What about external parsers written for this format which might now break?
> (Judging by the commitlog I believe this format is intentional and not a bug.)
> 
> 

The commit message says:

Let's adopt a format similar to that used for Lists, that is "<>"
for a NULL pointer or "(item item item)" otherwise. Also retool
the code to not have so many copies of the identical logic.

It mentioned “(item item item)”, not a whitespace in front of the first item.

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