Re: Allow database owners to CREATE EVENT TRIGGER

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Allow database owners to CREATE EVENT TRIGGER
Дата
Msg-id CAJ7c6TNHc3c=V8TATcg1MJhhBNBOB7fivTUrBrZ==fv82cQzDw@mail.gmail.com
обсуждение исходный текст
Ответ на Allow database owners to CREATE EVENT TRIGGER  (Steve Chavez <steve@supabase.io>)
Ответы Re: Allow database owners to CREATE EVENT TRIGGER
Список pgsql-hackers
Hi,

> Unlike superuser event triggers, which execute functions for every role, database owner event triggers are only
executedfor non-superusers.
 

Even if we forget about the security aspect for a moment, personally I
have mixed feelings about the idea of adding a new type of event
trigger that looks like a regular one but works differently depending
on who creates them. Also what will happen if I promote a user to a
superuser or vice versa? All this doesn't strike me as a great UI.

Maybe you could explain your particular use case?

-- 
Best regards,
Aleksander Alekseev



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