Re: allow changing autovacuum_max_workers without restarting
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Nathan Bossart <nathandbossart@gmail.com>,
Andres Freund <andres@anarazel.de>,
pgsql-hackers@lists.postgresql.org,
"Imseih (AWS),
Sami" <simseih@amazon.com>,
Justin Pryzby <pryzby@telsasoft.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2025-04-28T13:14:54Z
Lists: pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes: > This initdb output seems, well, kinda fake, which it is by its own > admission. Agreed. > Could we do this less fake maybe like this: > selecting default "max_connections", "autovacuum_worker_slots" ... 100, 16 > with the actual wait at the "..."? Perhaps that would be all right ... > (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.) ... but I can't see this approach scaling to three or four or five outputs. The line would get unreasonably long. My own proposal given the way it works now is to just print max_connections and not mention autovacuum_worker_slots at all. Our choice for max_connections is worth reporting, but I don't feel that everything derived from it needs to be reported. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Give up on running with NetBSD/OpenBSD's default semaphore settings.
- 810a8b1c8051 18.0 landed
-
initdb: Do not report default autovacuum_worker_slots.
- 2b49492eda3f 18.0 landed
-
Lower default value of autovacuum_worker_slots in initdb as needed.
- 6d01541960e2 18.0 landed
-
Allow changing autovacuum_max_workers without restarting.
- c758119e5bfb 18.0 landed
-
Reserve a PGPROC slot and semaphore for the slotsync worker process.
- 2bdf1b2a2efc 18.0 cited
-
Make archiver process an auxiliary process.
- d75288fb27b8 14.0 cited
-
Correct the formulas for System V IPC parameters SEMMNI and SEMMNS in docs.
- 597f7e3a6ec3 9.6.0 cited