> On 14 Mar 2022, at 01:08, Andres Freund <and...@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/

Attachment: v26-0003-Add-IGNORE_EVENT_TRIGGER_LOGIN.patch
Description: Binary data

Attachment: v26-0002-v25-of-event-trigger-patch.patch
Description: Binary data

Attachment: v26-0001-Provide-a-GUC-for-temporarily-ignoring-event-tri.patch
Description: Binary data

Reply via email to