Re: postgresql.conf.sample tab width

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2025-11-14T21:38:01Z
Lists: pgsql-hackers
On Fri, Nov 14, 2025 at 04:34:08PM -0500, Tom Lane wrote:
> 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?

We'd at least need -whitespace (I think), but I figured we might as well
highlight beginning-of-line tabs and trailing whitespace in diffs, too.
The TAP test wouldn't catch the latter.

-- 
nathan



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.