Re: allow changing autovacuum_max_workers without restarting - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: allow changing autovacuum_max_workers without restarting
Date
Msg-id de722583-4ba4-4063-bc41-e20684978116@eisentraut.org
Whole thread Raw
In response to Re: allow changing autovacuum_max_workers without restarting  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: allow changing autovacuum_max_workers without restarting
List pgsql-hackers
On 07.01.25 18:23, Nathan Bossart wrote:
> +    /*
> +     * 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);
> +

This initdb output seems, well, kinda fake, which it is by its own
admission.  Could we do this less fake maybe like this:

     selecting default "max_connections", "autovacuum_worker_slots" ... 100, 16

with the actual wait at the "..."?

(It doesn't seem impossible that someone will want to add more default
selecting for various worker or process slots, and this would allow adding
these easily, versus adding more "fake" output lines.)



pgsql-hackers by date:

Previous
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Fix slot synchronization with two_phase decoding enabled
Next
From: Shlok Kyal
Date:
Subject: Re: Restrict publishing of partitioned table with a foreign table as partition