Re: Uncommented GUC in postgresql.conf.sample - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Uncommented GUC in postgresql.conf.sample
Date
Msg-id aRdB10QRdvMXa4IQ@momjian.us
Whole thread Raw
In response to Re: Uncommented GUC in postgresql.conf.sample  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.

Yes, but again, be aware that only new initdb's will see this change. 
People doing a diff against an old postgresql.conf file and a new
initdb's postgresql.conf.sample in the same major release might see this
change and think they did it.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Uncommented GUC in postgresql.conf.sample
Next
From: Nathan Bossart
Date:
Subject: Re: Uncommented GUC in postgresql.conf.sample