Re: Event trigger and CREATE/ALTER ROLE/USER
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Event trigger and CREATE/ALTER ROLE/USER |
| Дата | |
| Msg-id | 20160914014247.GA440644@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Event trigger and CREATE/ALTER ROLE/USER (Tatsuo Ishii <ishii@sraoss.co.jp>) |
| Ответы |
Re: Event trigger and CREATE/ALTER ROLE/USER
Re: Event trigger and CREATE/ALTER ROLE/USER |
| Список | pgsql-hackers |
Tatsuo Ishii wrote: > Simple question: Is there any reason for event trigger to not support > CREATE/ALTER ROLE/USER? As I understand the issue, the main reason is that event triggers execute procedures, and those exist in a single database only. If you were to create an event trigger in database A, then a user gets created in database B, your function would not be invoked, which becomes a problem. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: