Re: logging table changes - Mailing list pgsql-novice

From Rob Richardson
Subject Re: logging table changes
Date
Msg-id 04A6DB42D2BA534FAC77B90562A6A03D015545FF@server.rad-con.local
Whole thread Raw
In response to Re: logging table changes  (Mladen Gogala <mgogala@vmsinfo.com>)
Responses Re: logging table changes  (Matthias Leopold <matthias@aic.at>)
List pgsql-novice
So far in this thread, I haven't seen anybody answer what I consider to
be a very important question about the original poster's requirements:

Why are you updating the history table????

If you update the history table, you lose old history.  Instead, I think
you should be adding a new record to the history table for every
alteration made to the old one.  The history table would have to contain
a field for the type of change that was made (insert, update or delete).

RobR

pgsql-novice by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: logging table changes
Next
From: Richard Broersma
Date:
Subject: Re: logging table changes