Re: Fixes a trivial bug in dumped parse/query/plan trees - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Fixes a trivial bug in dumped parse/query/plan trees
Date
Msg-id 2AB0D341-3166-4582-974B-8B7DB97B9BE1@yesql.se
Whole thread Raw
In response to Fixes a trivial bug in dumped parse/query/plan trees  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Fixes a trivial bug in dumped parse/query/plan trees
List pgsql-hackers
> On 25 Aug 2025, at 02:54, Chao Li <li.evan.chao@gmail.com> wrote:
>
> Hi Hackers,
> This patch fixes a trivial bug where an extra whitespace was added
> when dumping an array, for example:
>
> ```
>   :sort.numCols 2
>   :sort.sortColIdx ( 1 4)
>   :sort.sortOperators ( 97 1754)
>   :sort.collations ( 0 0)
>   :sort.nullsFirst ( false false)
> ```
>
> The unnecessary whitespace is now removed.

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.)

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Nishant Sharma
Date:
Subject: Problem in 'ORDER BY' of a column using a created collation?
Next
From: Jim Jones
Date:
Subject: Re: Improve error message for duplicate labels in enum types