Re: Keep history of modifications

From: Duane Lee - EGOVX <DLee(at)mail(dot)maricopa(dot)gov>
To: "'Daniel Devico'" <danico(dot)info(at)free(dot)fr>, pgsql-general(at)postgresql(dot)org
Subject: Re: Keep history of modifications
Date: 2004-06-14 17:51:58
Message-ID: 64EDC403A1417B4299488BAE87CA7CBF01CD0E7A@maricopa_xcng0
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Write an audit trigger to insert the required data into a table. I'm doing
that myself for a table holding budget ledger data and will be creating the
same concept for other tables.
Duane

-----Original Message-----
From: Daniel Devico [mailto:danico(dot)info(at)free(dot)fr]
Sent: Friday, June 11, 2004 2:25 AM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] Keep history of modifications

Hye,

Is there a way to keep in a log file the history of all data changes (for
example keeping sql INSERT, DELETE or UPDATE) as would do dump, keeping
trace of the user who did it and when ?

Daniel

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2004-06-14 17:54:53 Re: doubt
Previous Message Richard Huxton 2004-06-14 17:51:42 Re: doubt