pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: initdb: Do not report default autovacuum_worker_slots.
Date: Tue, 29 Apr 2025 16:42:08 +0000
Message-ID: <E1u9o24-000Bl3-2V@gemulon.postgresql.org> (raw)

initdb: Do not report default autovacuum_worker_slots.

Commit 6d01541960 taught initdb to lower the default value of
autovacuum_worker_slots for systems with very few semaphores.  It
also added a "fake" report for the chosen value, i.e., initdb
prints a message about selecting the default, but the value was
already selected in a previous test.  Per discussion, this is not a
precedent we want to set, and it seems unnecessary to report
everything derived from max_connections, so let's remove the "fake"
report.

Reported-by: Peter Eisentraut <peter@eisentraut.org>
Suggested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/de722583-4ba4-4063-bc41-e20684978116%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b49492eda3f2a30ee41038b3132338d2587f433

Modified Files
--------------
src/bin/initdb/initdb.c | 7 -------
1 file changed, 7 deletions(-)



Message-ID: <E1u9o24-000Bl3-2V@gemulon.postgresql.org>
Permalink:  ../E1u9o24-000Bl3-2V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1u9o24-000Bl3-2V@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: initdb: Do not report default autovacuum_worker_slots.
  In-Reply-To: <E1u9o24-000Bl3-2V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox