Hi,
I am postgres newbie.
We are running Postgres 9.6.3 version and have requirement, where we want to
audit any DML action performed by a user whose has module_dml role granted.
What would be the best way to do that? I was thinking to write something
like https://wiki.postgresql.org/wiki/Audi
Only Insert/Update/Delete sqls are to be audited.
--
View this message in context:
http://www.postgresql-archive.org/Audit-based-on-role-tp5976507p5976509.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
--
Sent via pgsql-general mailing list (pgsql-general@postgr
Thank you all for your input.
We plan to use ALTER USER username SET log_statement = mod when the user
account is created.
Regards,
Anand
--
View this message in context:
http://www.postgresql-archive.org/Audit-based-on-role-tp5976507p5977104.html
Sent from the PostgreSQL - general mailing l
Hi,
I was looking for a way to maintain historical query details in Postgres to
answer questions like
What was the sql call rate between time X and Y?
Did the execution count increase for the query increase between time X and
Y?
In past 10mins what all queries were run in the db?
and few others