Introduce pg_signal_autovacuum_worker.
authorNathan Bossart <[email protected]>
Tue, 9 Jul 2024 18:03:40 +0000 (13:03 -0500)
committerNathan Bossart <[email protected]>
Tue, 9 Jul 2024 18:03:40 +0000 (13:03 -0500)
commitccd38024bc3c61e62af2097d408a670661713e68
treefb66df8f4e9f7652c9c914811633d03f8641f29d
parent629520be5f9da9d0192c7f6c8796bfddb4746760
Introduce pg_signal_autovacuum_worker.

Since commit 3a9b18b309, roles with privileges of pg_signal_backend
cannot signal autovacuum workers.  Many users treated the ability
to signal autovacuum workers as a feature instead of a bug, so we
are reintroducing it via a new predefined role.  Having privileges
of this new role, named pg_signal_autovacuum_worker, only permits
signaling autovacuum workers.  It does not permit signaling other
types of superuser backends.

Bumps catversion.

Author: Kirill Reshke
Reviewed-by: Anthony Leung, Michael Paquier, Andrey Borodin
Discussion: https://postgr.es/m/CALdSSPhC4GGmbnugHfB9G0%3DfAxjCSug_-rmL9oUh0LTxsyBfsg%40mail.gmail.com
doc/src/sgml/func.sgml
doc/src/sgml/user-manag.sgml
src/backend/storage/ipc/signalfuncs.c
src/include/catalog/catversion.h
src/include/catalog/pg_authid.dat