Re: On login trigger: take three
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
Cc: Mikhail Gribkov <youzhick@gmail.com>,
Pavel Stehule <pavel.stehule@gmail.com>,
Ted Yu <yuzhihong@gmail.com>,
Nikita Malakhov <hukutoc@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Ian Lawrence Barwick <barwick@gmail.com>,
Sergey Shinderuk <s.shinderuk@postgrespro.ru>,
Ivan Panchenko <wao@mail.ru>,
Andres Freund <andres@anarazel.de>,
Tom Lane <tgl@sss.pgh.pa.us>,
Greg Nancarrow <gregn4422@gmail.com>,
Teodor Sigaev <teodor@sigaev.ru>,
Ibrar Ahmed <ibrar.ahmad@gmail.com>,
vignesh C <vignesh21@gmail.com>,
Amit Kapila <amit.kapila16@gmail.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2023-03-06T21:24:30Z
Lists: pgsql-hackers
> On 6 Mar 2023, at 21:55, Gregory Stark (as CFM) <stark.cfm@gmail.com> wrote: > > It looks like Daniel Gustafsson, Andres, and Tom have all weighed in > on this patch with at least a neutral comment (+-0 from Andres :) I think the concept of a login event trigger has merits, even though it's kind of a niche use case. > It looks like the main concern was breaking physical replicas and that > there was consensus that as long as single-user mode worked that it > was ok? Having a way to not rely on single-user mode and not causing an unacceptable performance hit (which judging by recent benchmarks might not be an issue?). I still intend to revisit this and I hope to get to it during this CF. -- Daniel Gustafsson
Commits
-
Fix some typos in event trigger docs
- 5fce30e77fe1 17.0 landed
-
Use heap_inplace_update() to unset pg_database.dathasloginevt
- 8be93177c46b 17.0 landed
-
Remove the flaky check in event_trigger_login regression test
- 4b885d01f967 17.0 landed
-
Fix instable 006_login_trigger.pl test
- 06be01eb266b 17.0 landed
-
Add support event triggers on authenticated login
- e83d1b0c40cc 17.0 landed
-
Add GUC for temporarily disabling event triggers
- 7750fefdb2b8 17.0 landed
-
Fix typo in reference to __FreeBSD__.
- e52f8b301ed5 16.0 cited
-
Restore robustness of TAP tests that wait for postmaster restart.
- f452aaf7d4a9 14.0 cited
-
Restore the portal-level snapshot after procedure COMMIT/ROLLBACK.
- 84f5c2908dad 14.0 cited