Re: run pgindent in CI - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: run pgindent in CI
Date
Msg-id CAGECzQRHgEeeN8JzTOUFdpQjGUuqXhcaf=d4XBquTnbFz_qxdA@mail.gmail.com
Whole thread
In response to Re: run pgindent in CI  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On Tue, 22 Sept 2026 at 18:33, Nathan Bossart <nathandbossart@gmail.com> wrote:
> FWIW I've been using my own custom pgindent for a couple of months that is
> much faster, which might be nice if we're going to start running it in CI.
> I just haven't gotten to posting the patches.  The main ideas are 1)
> running in parallel and 2) parsing typedefs.list once per run.  That pretty
> dramatically decreases the duration of a whole-tree indent.

See also[1] which adds parallel support and a bunch of other things.
Only parsing typedefs.list once sounds nice though. Would be good to
combine these efforts I think.

[1]: https://www.postgresql.org/message-id/DHJCUQA4HF9H.10EN25MHG0YRW%40jeltef.nl



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: JSON_TABLE: propagate table-level ON ERROR to columns per SQL st
Next
From: Greg Burd
Date:
Subject: Re: Orphaned Files in PostgreSQL