From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | Dhandapani Shanmugam <postgresql95(at)gmail(dot)com> |
Cc: | Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: user logging info |
Date: | 2016-06-02 09:44:49 |
Message-ID: | 20160602094448.GB8193@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, Jun 02, 2016 at 02:33:34PM +0530, Dhandapani Shanmugam wrote:
> I want to see the list of user who logged into XXX database in last 90
> days. How can we do this please
You can't really. Unless you will modify postgresql.conf (or any other
means of setting config variables), and you'll set log_connections.
You might want to read
https://www.postgresql.org/docs/current/static/runtime-config-logging.html
or https://www.depesz.com/2011/05/06/understanding-postgresql-conf-log/
Best regards,
depesz
From | Date | Subject | |
---|---|---|---|
Next Message | Suya Huang | 2016-06-02 09:45:00 | Re: how to downgrade Postgres in Ubuntu |
Previous Message | Dhandapani Shanmugam | 2016-06-02 09:03:34 | Re: user logging info |