Re: Uncommented GUC in postgresql.conf.sample

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-14T14:57:46Z
Lists: pgsql-hackers
On Fri, Nov 14, 2025 at 09:44:42AM -0500, Tom Lane wrote:
> Daniel Gustafsson <daniel@yesql.se> writes:
>> When looking at the nearby suggestion to add deprecation comment for md5 in the
>> .conf.sample, I happened to notice that autovacuum_worker_slots isn't commented
>> out it the sample file.
> 
>> AFAIK all GUCs in the sample file should be set to their defaults and left
>> commented out.
> 
> Yes, that is surely a bug.  It should be fixed and back-patched.

That's my bad.  +1 for fixing and back-patching.

-- 
nathan



Commits

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

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