Re: Keep history of modifications - Mailing list pgsql-general

From Duane Lee - EGOVX
Subject Re: Keep history of modifications
Date
Msg-id 64EDC403A1417B4299488BAE87CA7CBF01CD0E7A@maricopa_xcng0
Whole thread Raw
In response to Keep history of modifications  ("Daniel Devico" <danico.info@free.fr>)
List 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.info@free.fr]
Sent: Friday, June 11, 2004 2:25 AM
To: pgsql-general@postgresql.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

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: doubt
Next
From: Tom Lane
Date:
Subject: Re: Different runtime on the same query