summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart2025-04-29 16:41:42 +0000
committerNathan Bossart2025-04-29 16:41:42 +0000
commit2b49492eda3f2a30ee41038b3132338d2587f433 (patch)
treed860266c857c13f7b28de01caa18aff8c19e95b1
parentfaced8e6a40b469bf9603db868beb6604c95df32 (diff)
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 <[email protected]> Suggested-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/de722583-4ba4-4063-bc41-e20684978116%40eisentraut.org
-rw-r--r--src/bin/initdb/initdb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 08c6b5f8a38..aefe8130a68 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -1186,13 +1186,6 @@ test_config_settings(void)
printf("%d\n", n_connections);
- /*
- * We chose the default for autovacuum_worker_slots during the
- * max_connections tests above, but we print a progress message anyway.
- */
- printf(_("selecting default \"autovacuum_worker_slots\" ... %d\n"),
- n_av_slots);
-
printf(_("selecting default \"shared_buffers\" ... "));
fflush(stdout);