Re: On login trigger: take three

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: On login trigger: take three
Дата
Msg-id 2E4E472A-69F8-4EAC-B337-3341AC2F0188@yesql.se
обсуждение исходный текст
Ответ на Re: On login trigger: take three  (Andres Freund <andres@anarazel.de>)
Ответы Re: On login trigger: take three  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
> On 14 Mar 2022, at 01:08, Andres Freund <andres@anarazel.de> wrote:

> I was thinking that the way to use it would be to specify it as a client
> option. Like PGOPTIONS='-c ignore_event_trigger=login' psql.

Attached is a quick PoC/sketch of such a patch, where 0001 adds a guc, 0002 is
the previously posted v25 login event trigger patch, and 0003 adapts is to
allow ignoring it (0002/0003 split only for illustrative purposes of course).
Is this along the lines of what you were thinking?

--
Daniel Gustafsson        https://vmware.com/


Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Column Filtering in Logical Replication
Следующее
От: Maxim Orlov
Дата:
Сообщение: Re: Add 64-bit XIDs into PostgreSQL 15