Search Postgresql Archives

Select Column Auditing/Logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've tried searching around the net for a feature that would allow me to audit to a table or log select queries against a certain column in a table.  In fact, I haven't been able to find a way to log selects to a specific table, just logging all queries.

It seems that PostgreSQL can audit INSERT, UPDATE, DELETE, and TRUNCATE through the use of triggers.  But SELECT triggers are unsupported (it does suggest perhaps using RULES).

Has anyone attempted to implement conditional select based logging, even through RULES?  I think Oracle has a feature called "Fine Grained Auditing" that has a ton of features that I don't really need, just what's described above in particular.

P.S. The log would just need the user, time, and query.

TIA,

Jeremy Brown


      

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux