in reply to Tracking changes to a db table
This could be done entirely in the database with a trigger. I haven't actually used triggers before, but I think you can:
Here's PostgreSQL 7.4 Trigger documentation (I don't know what version you're using).
|
|---|