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).
In reply to Re: Tracking changes to a db table
by kyle
in thread Tracking changes to a db table
by luinalin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |