Re: allow changing autovacuum_max_workers without restarting

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: "Imseih (AWS), Sami" <simseih(at)amazon(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: allow changing autovacuum_max_workers without restarting
Date: 2024-04-14 14:40:58
Message-ID: 20240414144058.GA2819458@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a first attempt at a proper patch set based on the discussion thus
far. I've split it up into several small patches for ease of review, which
is probably a bit excessive. If this ever makes it to commit, they could
likely be combined.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v1-0001-Rename-autovacuum_max_workers-to-autovacuum_max_w.patch text/x-diff 17.1 KB
v1-0002-Convert-autovacuum-s-free-workers-list-to-a-dclis.patch text/x-diff 3.8 KB
v1-0003-Move-free-autovacuum-worker-checks-to-a-helper-fu.patch text/x-diff 2.2 KB
v1-0004-Reintroduce-autovacuum_max_workers-as-a-PGC_SIGHU.patch text/x-diff 8.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2024-04-14 17:09:26 Re: Parallel CREATE INDEX for BRIN indexes
Previous Message David Rowley 2024-04-14 11:19:56 Re: Typos in the code and README