Re: Uncommented GUC in postgresql.conf.sample

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-14T14:44:42Z
Lists: pgsql-hackers
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.

			regards, tom lane



Commits

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

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