Re: CI: Add task that runs pgindent - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: CI: Add task that runs pgindent
Date
Msg-id aPhep9yW8M3Jghe5@paquier.xyz
Whole thread Raw
In response to Re: CI: Add task that runs pgindent  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Tue, Oct 21, 2025 at 05:04:50PM +0200, Daniel Gustafsson wrote:
> Indeed there is, I admittedly was under the impression that koel ran pgperltidy
> but clearly I was wrong.

The original thread about forcing a stronger indentation policy was
that we could begin with the C code, leaving everything that is not C
up to the committer who pushes a change.

Another one would be a check on reformat-dat-files.  Personally, I
tend to be careful with the dat files, or the indentation of the perl
code before pushing anything.  The trend I am seeing is that a lot of
committers are very careful about that as well, so perhaps we could go
one step higher.  Fireproof vest is on and ready for impact.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue
Next
From: Michael Paquier
Date:
Subject: Re: Skip unregistered custom kinds on stats load