pgsql: initdb: Do not report default autovacuum_worker_slots.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: initdb: Do not report default autovacuum_worker_slots.
Date: 2025-04-29 16:42:08
Message-ID: E1u9o24-000Bl3-2V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)eisentraut(dot)org>
Suggested-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-04-29 17:19:10 pgsql: Fix whitespace typo in string
Previous Message David E. Wheeler 2025-04-29 15:12:02 Re: extension_control_path and "directory"