public inbox for [email protected]  
help / color / mirror / Atom feed
From: Heikki Linnakangas <[email protected]>
To: Tristan Partin <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: Re: Add editorconfig support for Postgres spec files
Date: Fri, 17 Apr 2026 11:18:22 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On 17/04/2026 00:49, Tristan Partin wrote:
> I was reading through some spec files today, and my editor was resolving
> the tab width as 8. I looked at some of the spec files, and we seem to
> have standardized on a tab width of 4 with tabs expanded into spaces.

There's a mix of styles in different files. To pick a few random examples:

src/test/isolation/specs/nowait.spec: indented with 2 spaces. But there 
are some tabs too.

src/test/modules/injection_points/specs/repack_toast.spec: Tabs

src/test/modules/brin/specs/summarization-and-inprogress-insertion.spec: 
Mix of tabs and spaces, width 4.

Yeah, it would be nice to standardize on something...

- Heikki






view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Add editorconfig support for Postgres spec files
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox