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

From Michael Paquier
Subject Re: Add editorconfig support for Postgres spec files
Date
Msg-id aecOai_V8w5swNhG@paquier.xyz
Whole thread
In response to Re: Add editorconfig support for Postgres spec files  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Fri, Apr 17, 2026 at 11:18:22AM +0300, Heikki Linnakangas wrote:
> 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...

In terms of system_views.sql, the SQL input files in the regression
test suites and the sample files, we are using whitespaces, not tabs.
I cannot say much about the width part and what would be a good
number, but at least it seems to me that the tabs should go.  We don't
really have a strict width rule for the SQL files in the regression
tests, and I don't think we need one.  It would be nice to keep the
same flexibility for the isolation spec files.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits
Next
From: Soumya S Murali
Date:
Subject: Re: Fix bug with accessing to temporary tables of other sessions