From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Langote <amitlangote09@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: potentially missed pgindent in REL_19_STABLE
Date: Thu, 24 Sep 2026 10:13:29 -0400
Message-ID: <1667836.1790259209@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+HiwqHu2e5mvKvxjWi=daOADmktnW0T+uccrmbKzuCoYCh8Qg@mail.gmail.com>
References: <CA+HiwqEzbq+_tjDuOjAQ9bjmHL49LvHy+TT2a1XWTzxXZ-OOiA@mail.gmail.com>
<01DBBD2E-2029-44ED-8FC1-D5767B7BD373@yesql.se>
<CA+HiwqHu2e5mvKvxjWi=daOADmktnW0T+uccrmbKzuCoYCh8Qg@mail.gmail.com>
Amit Langote <amitlangote09@gmail.com> writes:
> On Thu, Sep 24, 2026 at 5:33 PM Daniel Gustafsson <daniel@yesql.se> wrote:
>> will there would be a tree-wide
>> pgindent run before tagging REL_19_0?
> That's a good question. src/tools/RELEASE_CHANGES mentions runs before
> beta and before branching, but I couldn't find anything about a final
> run before .0.
We haven't done that in the past, and in general I don't think
it's policy to expect full pgindent cleanliness in back branches.
One reason for that is that back-patches typically retain the
master-branch patch's formatting, even if an older version of
pgindent would have done something different with some constructs.
For instance, commit b518ba4af affected a lot of places, making it
hard to say which handling of "..." is right for pre-v19. So now
you'd likely get diffs from a tree-wide reindent in v18 and before
no matter which pgindent version you used.
I have no objection to applying the proposed patch, though.
At this point there's still value in avoiding unnecessary
diffs between v19 and v20.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, amitlangote09@gmail.com, daniel@yesql.se
Subject: Re: potentially missed pgindent in REL_19_STABLE
In-Reply-To: <1667836.1790259209@sss.pgh.pa.us>
References: <CA+HiwqEzbq+_tjDuOjAQ9bjmHL49LvHy+TT2a1XWTzxXZ-OOiA@mail.gmail.com> <01DBBD2E-2029-44ED-8FC1-D5767B7BD373@yesql.se> <CA+HiwqHu2e5mvKvxjWi=daOADmktnW0T+uccrmbKzuCoYCh8Qg@mail.gmail.com> <1667836.1790259209@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox