Re: Allow non-superuser to cancel superuser tasks.
От | Andrey M. Borodin |
---|---|
Тема | Re: Allow non-superuser to cancel superuser tasks. |
Дата | |
Msg-id | 4B8743A5-1ECD-4553-84F7-1A5FC0A6916F@yandex-team.ru обсуждение исходный текст |
Ответ на | Re: Allow non-superuser to cancel superuser tasks. (Nathan Bossart <nathandbossart@gmail.com>) |
Ответы |
Re: Allow non-superuser to cancel superuser tasks.
Re: Allow non-superuser to cancel superuser tasks. |
Список | pgsql-hackers |
> On 2 Apr 2024, at 01:21, Nathan Bossart <nathandbossart@gmail.com> wrote: > > I haven't looked too closely, but I'm pretty skeptical that the test suite > in your patch would be stable. Unfortunately, I don't have any better > ideas at the moment besides not adding a test for this new role. We can add tests just like [0] with injection points. I mean replace that "sleep 1" with something like "$node->wait_for_event('autovacuum worker', 'autocauum-runing');". Currently we have no infrastructure to wait for autovacuum of particular table, but I think it's doable. Also I do not like that test is changing system-wide autovac settings, AFAIR these settings can be set for particular table. Thanks! Best regards, Andrey Borodin. [0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=eeefd4280f6
В списке pgsql-hackers по дате отправления: