Re: Uncommented GUC in postgresql.conf.sample

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-14T22:57:53Z
Lists: pgsql-hackers
> On 14 Nov 2025, at 16:20, Andrew Dunstan <andrew@dunslane.net> wrote:

> OTOH, if you want to skip a lot of ok's in the regress_log file, you can do something like:
> 
> fail("$line missing initial # in postgresql.conf.sample") if $line =~ /^\s*[^#\s]/;

Went ahead with a change along this line to keep the test log noise down.
Thanks for review!

--
Daniel Gustafsson




Commits

  1. Add test for postgresql.conf.sample line syntax

  2. Comment out autovacuum_worker_slots in postgresql.conf.sample.