| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Pgsql Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: The pgperltidy diffs in HEAD |
| Date: | 2025-11-25 16:29:05 |
| Message-ID: | 00763642-D263-4743-9B65-71752E9BB5FE@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> On 25 Nov 2025, at 17:00, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> =?utf-8?Q?=C3=81lvaro?= Herrera <alvherre(at)kurilemu(dot)de> writes:
>> On 2025-Nov-25, Daniel Gustafsson wrote:
>>> I routinely run pgperltidy src/ when hacking on things, and am greeted with
>>> lots of diffs like how pgindent runs used to be. Are there objections to
>>> applying the diffs we've accumulated so far with a .git-blame-ignore-revs
>>> update alongside it? Are there reasons not that I am missing?
>
>> None here. I tend to run pgperltidy on individual files so this is not
>> normally a problem for me, but I kinda dislike that our steady status is
>> not clean.
>
> While I've not got any great objection to running pgperltidy now,
> it seems like it'd be better if committers were all on the same page
> about this. My understanding of the current policy is that we'll
> keep the tree pgindent-clean on the fly, but worry about pgperltidy
> only once a year or so. Is there consensus for tightening that up?
I don't think there is, but I wouldn't mind if that was the case given how nice
it is to have a pgindent clean tree at all times.
>> Hmm, I wonder if you ran this with our documented version of perltidy.
>
> This sort of thing is why I'm hesitant. We didn't really dare expect
> committers to ensure pgindent cleanliness until we had that tool
> fully integrated in our tree, so that there was one true (and readily
> available) version to use. perltidy still fails that test AFAIK;
> you have to go looking for the agreed-on version.
..and since I managed to run it with the wrong version for the attached diff that
argument certainly does have merit (I now gave up on having two version
installed for $reasons and will settle on the postgres-mandated version for all
things).
Maybe this is best left alone for now and made into a topic for a committer
meeting at pgconf.dev?
--
Daniel Gustafsson
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Burd | 2025-11-25 16:37:38 | Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB barriers |
| Previous Message | Robert Haas | 2025-11-25 16:25:09 | Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent |