Re: Improve pgindent's formatting named fields in struct literals and varidic functions

Andreas Karlsson <andreas@proxel.se>

From: Andreas Karlsson <andreas@proxel.se>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-31T08:03:59Z
Lists: pgsql-hackers

Attachments

On 3/31/26 9:16 AM, Jelte Fennema-Nio wrote:
> On Tue, 31 Mar 2026 at 08:30, Andreas Karlsson <andreas@proxel.se> wrote:
>> Rebased it again.
> 
> I agree this looks better. So seems like a reasonable improvement.

Thanks for taking a look!

But noticed now that the tests were broken so here is a new version 
where they pass and where I also added a new test case for struct 
literals with named fields.

Andreas

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Make pg_bsd_indent add a space between comma and period.