Re: Uncommented GUC in postgresql.conf.sample

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Daniel Gustafsson <daniel@yesql.se>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-14T15:30:33Z
Lists: pgsql-hackers
On 2025-Nov-14, Andrew Dunstan 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]/;

Yeah, I'm pretty confident we don't want one "ok" per correct line in
the sample file :-)

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"I'm always right, but sometimes I'm more right than other times."
                                                  (Linus Torvalds)
https://lore.kernel.org/git/Pine.LNX.4.58.0504150753440.7211@ppc970.osdl.org/



Commits

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

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