Re: logging table changes

Поиск
Список
Период
Сортировка
От Rob Richardson
Тема Re: logging table changes
Дата
Msg-id 04A6DB42D2BA534FAC77B90562A6A03D015545FF@server.rad-con.local
обсуждение исходный текст
Ответ на Re: logging table changes  (Mladen Gogala <mgogala@vmsinfo.com>)
Ответы Re: logging table changes  (Matthias Leopold <matthias@aic.at>)
Список 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 по дате отправления:

Предыдущее
От: Mladen Gogala
Дата:
Сообщение: Re: logging table changes
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: logging table changes