Re: Add editorconfig support for Postgres spec files - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Add editorconfig support for Postgres spec files
Date
Msg-id 29230792-69b4-473c-b2a7-7801bc8769e0@iki.fi
Whole thread
In response to Add editorconfig support for Postgres spec files  ("Tristan Partin" <tristan@partin.io>)
Responses Re: Add editorconfig support for Postgres spec files
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: FOR PORTION OF does not recompute GENERATED STORED columns that depend on the range column
Next
From: Peter Smith
Date:
Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+