[GENERAL] How to get login user name and host name in pgaudit - Mailing list pgsql-general

From rakeshkumar464
Subject [GENERAL] How to get login user name and host name in pgaudit
Date
Msg-id 1508675576206-0.post@n3.nabble.com
Whole thread Raw
Responses Re: [GENERAL] How to get login user name and host name in pgaudit
List pgsql-general
I installed latest pgaudit (1.2) with pg10.  I am testing it and I see that
it does not log the login user name and host name. 

For example, if user mary is running select * from sensitive_table, I want
Mary and the machine from where she ran in the log.

It seems to log the ids which needs to be joined with pg_ views to convert
it into login user name and host name.

any pointers on how to get it done.

thanks.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [GENERAL] Weird performance difference
Next
From: Martin Moore
Date:
Subject: [GENERAL] Postgres 9.6 fails to start on VMWare