Re: Login/logout - Utility Database - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: Login/logout - Utility Database
Date
Msg-id 42B4ADB7.1040002@pse-consulting.de
Whole thread Raw
In response to Login/logout  (Juan Pablo Espino <jp.espino@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: [PATCHES] default database creation with initdb
Next
From: Andrew Dunstan
Date:
Subject: Re: buildfarm notifications