EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

audit trail implementation  XML

Forum Index » Standard Server
Author Message
umesh_rama

Member

Joined: 1 Jul 2010 03:19:58
Messages: 16
Offline

Dear All

I need your inputs, How to implement audit trail
using postgresql trigger or another functions, is there triggers/functions to track
changes in existing or newly created data in tables.

Thank u in Advance.


Vibhor_K

Senior member
[Avatar]

Joined: 3 Jul 2009 09:46:15
Messages: 444
Offline

You can use log_statement parameter in PostgreSQL.

If you enable this parameter then, PG log the information in log file and you can write your own script which will take out the information from Logfile for auditing purpose.

Thanks & Regards,
Vibhor Kumar
Blog:http://vibhork.blogspot.com
[Email] [WWW]
umesh_rama

Member

Joined: 1 Jul 2010 03:19:58
Messages: 16
Offline

Dear All,

Thanks for u r inputs.
apart from postgres log file, is there any other alternative method to track changes in data.
 
Forum Index » Standard Server
Go to:   
Powered by JForum 2.1.8 © JForum Team