Re: postgresql.conf.sample tab width

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2025-11-14T21:34:08Z
Lists: pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> I don't see a way in .gitattributes to check for _any_ tabs in a file, just
> for beginning-of-line indentation with tabs.  But it's easy enough to add a
> check in the TAP test.

Works for me.  Do we need any special .gitattributes for the file
at all, if we're relying on the TAP test to catch this?

			regards, tom lane



Commits

  1. Check for tabs in postgresql.conf.sample.

  2. Switch from tabs to spaces in postgresql.conf.sample.

  3. Update .editorconfig and .gitattributes for postgresql.conf.sample.