Re: run pgindent in CI

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: run pgindent in CI
Date: 2026-09-23 12:57:09
Message-ID: db136301-1ab3-4f06-8360-38ef8f9b1eed@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22.09.26 18:33, Nathan Bossart 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.

The timing of pgindent runs in this CI job aren't terribly critical in
the overall context (8-10s). Faster is better of course. But I would
be very interested in this improvement for local interactive use.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Akshay Joshi 2026-09-23 13:00:37 Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements
Previous Message Nazir Bilal Yavuz 2026-09-23 12:57:03 Re: run pgindent in CI