Re: user logging info

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: user logging info
Дата
Msg-id 20160602094448.GB8193@depesz.com
обсуждение исходный текст
Ответ на Re: user logging info  (Dhandapani Shanmugam <postgresql95@gmail.com>)
Список 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



В списке pgsql-admin по дате отправления:

Предыдущее
От: Dhandapani Shanmugam
Дата:
Сообщение: Re: user logging info
Следующее
От: Suya Huang
Дата:
Сообщение: Re: how to downgrade Postgres in Ubuntu