Audit Script Added

26 January 2009
Tags: postgresql

I just updated the auditing article, with a python script that generates the necessary function and trigger to work with the Postgres auditing example.

Not only does this help mimimize the mistakes I make, but it definitely makes life a lot easier just running the script whenever a change is made to a table that needs auditing. So that is a win win.

The idea would be to create a number of other scripts that allows the database to be re-created competely, this is for development purposes and allows for changes to the database to happen rapidly and with minimal mistakes. But that is for another posting.