On Fri, Jul 21, 2017 at 11:10 AM, Craig Ringer <cr...@2ndquadrant.com> wrote: > Don't we have that timestamp already? > > What practical use cases are there for acting post-auth but that can't wait > until the user tries to do something?
Have, yes; record, no. > Can a user do anything remotely interesting or useful without hitting either > ExecutorStart_hook or ProcessUtility_hook? They can parse queries I guess > but you could just set your hook up in the parser instead. If you hook the > parser all they can do is open an idle session and sit there... That's an exceedingly-weak argument for rejecting this patch. The fact that you can probably hack around the lack of a hook for most reasonable use cases is not an argument for having a hook that does what people actually want to do. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers