| От | Nathan Bossart |
|---|---|
| Тема | Re: Allow non-superuser to cancel superuser tasks. |
| Дата | |
| Msg-id | 20240226151047.GA1872389@nathanxps13 обсуждение исходный текст |
| Ответ на | Allow non-superuser to cancel superuser tasks. (Kirill Reshke <reshkekirill@gmail.com>) |
| Ответы |
Re: Allow non-superuser to cancel superuser tasks.
|
| Список | pgsql-hackers |
On Mon, Feb 26, 2024 at 12:38:40PM +0500, Kirill Reshke wrote: > I see 2 possible ways to implement this. The first one is to have hool in > pg_signal_backend, and define a hook in extension which can do the thing. > The second one is to have a predefined role. Something like a > `pg_signal_autovacuum` role which can signal running autovac to cancel. But > I don't see how we can handle specific `application_name` with this > solution. pg_signal_autovacuum seems useful given commit 3a9b18b. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера