Skip to content

Commit 2b49492

Browse files
initdb: Do not report default autovacuum_worker_slots.
Commit 6d01541 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
1 parent faced8e commit 2b49492

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/bin/initdb/initdb.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,6 @@ test_config_settings(void)
11861186

11871187
printf("%d\n", n_connections);
11881188

1189-
/*
1190-
* We chose the default for autovacuum_worker_slots during the
1191-
* max_connections tests above, but we print a progress message anyway.
1192-
*/
1193-
printf(_("selecting default \"autovacuum_worker_slots\" ... %d\n"),
1194-
n_av_slots);
1195-
11961189
printf(_("selecting default \"shared_buffers\" ... "));
11971190
fflush(stdout);
11981191

0 commit comments

Comments
 (0)