Re: Allow database owners to CREATE EVENT TRIGGER

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Allow database owners to CREATE EVENT TRIGGER
Дата
Msg-id CAKFQuwbgjvupHPFjdGVz-T2miawVP=W3FN=KQdPvTSNtAbP-0g@mail.gmail.com
обсуждение исходный текст
Ответ на Allow database owners to CREATE EVENT TRIGGER  (Steve Chavez <steve@supabase.io>)
Список pgsql-hackers
On Wed, Mar 5, 2025 at 7:55 AM Steve Chavez <steve@supabase.io> wrote:
How about requiring explicit non-superuser execution for the database owner evtrig? It would be like:

CREATE EVENT TRIGGER name ... FOR NOSUPERUSER;

This is more what I was thinking - which works for a boolean.  The ability to have an exclusion list would make sense, or maybe just a predefined role pg_bypass_eventtriggers.

David J.

В списке pgsql-hackers по дате отправления: