Juan Pablo Espino wrote:

I want to register in an audit table the date and time of the
login/logout of a database user. I have been looking for some function
in the code but I didn't find something like that.

This is the kind of functionality I'd expect to go to the pg_system (or however it is named) database if added in pgsql 9.x or so. Would you like to have auditing stuff mixed up with user data (e.g. in terms of backup)?

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to