Re: How to enable Logon Trigger in postgres? - Mailing list pgsql-admin

From Shreeyansh Dba
Subject Re: How to enable Logon Trigger in postgres?
Date
Msg-id CAGDYbUPpniSJ5F5wKSF+awQHSoUWP+hahdu88Ju3Weehprs=Dw@mail.gmail.com
Whole thread Raw
In response to How to enable Logon Trigger in postgres?  (pavan95 <pavan.postgresdba@gmail.com>)
Responses Re: How to enable Logon Trigger in postgres?  (pavan95 <pavan.postgresdba@gmail.com>)
List pgsql-admin
Hi,

You can enable login connection related parameters in a postgresql.conf file to get the user login/logout time.

Due to enabling the logging parameters the log file size will increase.



On Mon, Aug 20, 2018 at 3:11 PM, pavan95 <pavan.postgresdba@gmail.com> wrote:
Hi all,

I wanted to know whether we can store logon(user login/logout) information
for a database. In specific I want to know at what time which user had
logged in and what he performed on the database and the time which he logged
off?

Is it possible to get this level of information in Postgres?

Will be very happy if we can get this piece of information from the
postgres(inbuilt/any tool). Looking forward to hearing from you!

Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html


pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: logical Replication
Next
From: pavan95
Date:
Subject: Re: How to enable Logon Trigger in postgres?