More general configurability of session startup actions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject More general configurability of session startup actions
Date
Msg-id Pine.LNX.4.30.0202282103330.691-100000@peter.localdomain
Whole thread Raw
List pgsql-hackers
While writing about the database and user-specific session defaults, it
occurred to me, there's a more general feature lurking.  Users or admins
could register an SQL-realm function that is executed before the session
starts.  That way you could, say, implement a connection audit with
arbitrary alert actions.

I don't mean this to replace the proposed system of session defaults,
since this new idea would probably be a lot more complex and slow, but
it's something to think about.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Final spec on per-database/per-user settings
Next
From: Tom Lane
Date:
Subject: Re: Final spec on per-database/per-user settings