Table History - Mailing list pgsql-sql

From Richard Sydney-Smith
Subject Table History
Date
Msg-id 002101c4e400$f0164220$13dd8a90@athlon2000
Whole thread Raw
Responses Re: Table History
List pgsql-sql
A database I maintain has a central transaction table ( FTRANS)
I would like an second table FTRANS_IMAGE to maintain a historical view of ftrans. So if records in FTRANS are altered we can trace the effect of those changes in FTRANS_IMAGE.
 
I expect this has been done MANY times and I wonder if a general purpose trigger exists or if not then can someone point me to an example set of triggers?
 
I would like to trace an action code "Edit" or "Delete" in FTRANS_IMAGE in additional to the common fields.
 
thanks muchly
 
Richard Sydney-Smith

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 19/11/2004

pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [NOVICE] FUNCTION, TRIGGER and best practices
Next
From: Marcus Claesson
Date:
Subject: can't get the order I want after inserting new rows