Re: Allow non-superuser to cancel superuser tasks.

Поиск
Список
Период
Сортировка
Искать
От
Nathan Bossart
Тема
Re: Allow non-superuser to cancel superuser tasks.
Дата
Msg-id
20240227192322.GB2432025@nathanxps13
Ответ на
Список
Дерево обсуждения
Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. Andres Freund <andres@anarazel.de>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Kirill Reshke <reshkekirill@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Nathan Bossart <nathandbossart@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
Re: Allow non-superuser to cancel superuser tasks. Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Allow non-superuser to cancel superuser tasks. "Leung, Anthony" <antholeu@amazon.com>
Re: Allow non-superuser to cancel superuser tasks. Michael Paquier <michael@paquier.xyz>
On Tue, Feb 27, 2024 at 11:59:00PM +0500, Kirill Reshke wrote:
> Do we need to test the pg_cancel_backend vs autovacuum case at all?
> I think we do. Would it be better to split work into 2 patches: first one
> with tests against current logic, and second
> one with some changes/enhancements which allows to cancel running autovac
> to non-superuser (via `pg_signal_autovacuum` role or some other mechanism)?

If we need to add tests for pg_signal_backend, I think it's reasonable to
keep those in a separate patch from pg_signal_autovacuum.

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


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Jacob Champion
Дата:
FAQ