Re: Add editorconfig support for Postgres spec files

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Tristan Partin <tristan(at)partin(dot)io>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add editorconfig support for Postgres spec files
Date: 2026-04-17 20:10:12
Message-ID: CAGECzQRS1H4q_v0_od9wuxxnUHJWMW07Ei8_fjE8yjw9yiV2EA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 17 Apr 2026 at 10:18, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> Yeah, it would be nice to standardize on something...

Agreed.

Whatever that standardized indenting style then is, it should then be
encoded in .gitattributes. Our editorconfig file is generated based on
that using src/tools/generate_editorconfig.py.

I think in any case that script should be update to add some "DO NOT
MODIFY MANUALLY! GENERATED USING src/tools/generate_editorconfig.py "
header to the resulting editorconfig file. Because I agree that's not
clear at the moment.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-04-17 21:32:48 Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY
Previous Message SATYANARAYANA NARLAPURAM 2026-04-17 20:03:36 [BUG]: WHERE CURRENT OF cursor fail on tables that have virtual generated columns