Re: Postgres Login Users Details

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: Postgres Login Users Details
Дата
Msg-id CA+h6AhjMKTHNrMBcYt_5v_MPOBEpfYtm19aMwfyCtLtbhTG9Rw@mail.gmail.com
обсуждение исходный текст
Ответ на Postgres Login Users Details  (Vishalakshi Navaneethakrishnan <nvishalakshi@sirahu.com>)
Список pgsql-general
On Mon, Oct 22, 2012 at 2:17 PM, Vishalakshi Navaneethakrishnan <nvishalakshi@sirahu.com> wrote:
Hi all,

I need to know who are all access database from different remote host.

Example :

User1@host1 logged / access db  dbuser@dbname in Dbserver

How can i get this information?

Thanks in advance..


Try log_line_prefix parameter, which has many option of writing information into database server logs(pg_logs). You can get IP address of the user who is accessing db, also the application name. Try %r option.


---
Regards,
Raghavendra
EnterpriseDB Corporation

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

Предыдущее
От: Vishalakshi Navaneethakrishnan
Дата:
Сообщение: Postgres Login Users Details
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: oracle_fdw