RE: On login trigger: take three
tsunakawa.takay@fujitsu.com <tsunakawa.takay@fujitsu.com>
From: "tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>
To: 'Konstantin Knizhnik' <k.knizhnik@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-04T00:11:46Z
Lists: pgsql-hackers
From: Konstantin Knizhnik <k.knizhnik@postgrespro.ru> > Recently I have asked once again by one of our customers about login trigger in > postgres. People are migrating to Postgres from Oracle and looking for Postgres > analog of this Oracle feature. > This topic is not new: > I attached my prototype implementation of this feature. > I just to be sure first that this feature will be interested to community. > If so, I will continue work in it and prepare new version of the patch for the > commitfest. Thanks a lot for taking on this! +10 > It may be considered as argument against handling session start using trigger. > But it seems to be the most natural mechanism for users. Yeah, it's natural, just like the Unix shells run some shell scripts in the home directory. Regards Takayuki Tsunakawa
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