Re: run pgindent in CI

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: run pgindent in CI
Date: 2026-09-23 18:24:43
Message-ID: CAGECzQRHgEeeN8JzTOUFdpQjGUuqXhcaf=d4XBquTnbFz_qxdA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 22 Sept 2026 at 18:33, Nathan Bossart <nathandbossart(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Burd 2026-09-23 18:25:31 Re: Orphaned Files in PostgreSQL
Previous Message Robert Haas 2026-09-23 18:20:49 Re: pgsql: JSON_TABLE: propagate table-level ON ERROR to columns per SQL st