| От | Sergey Shinderuk |
|---|---|
| Тема | Re: On login trigger: take three |
| Дата | |
| Msg-id | fa1a8256-e0b8-1da7-960c-d745a73e33e6@postgrespro.ru обсуждение |
| Ответ на | Re: On login trigger: take three (Daniel Gustafsson <daniel@yesql.se>) |
| Список | pgsql-hackers |
On 20.09.2022 17:10, Daniel Gustafsson wrote: >> On 20 Sep 2022, at 15:43, Sergey Shinderuk <s.shinderuk@postgrespro.ru> wrote: >> There is a race around setting and clearing of dathasloginevt. > > Thanks for the report! The whole dathasloginevt mechanism is IMO too clunky > and unelegant to go ahead with, I wouldn't be surprised if there are other bugs > lurking there. Indeed. CREATE DATABASE doesn't copy dathasloginevt from the template database. ALTER EVENT TRIGGER ... ENABLE doesn't set dathasloginevt. In both cases triggers are enabled according to \dy output, but don't fire. The admin may not notice it immediately. -- Sergey Shinderuk https://postgrespro.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера