Re: History-based (or logged) database.

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: History-based (or logged) database.
Дата
Msg-id 00af01c3d910$1b3220c0$71285e3d@winxp
обсуждение исходный текст
Ответ на History-based (or logged) database.  ("Octavio Alvarez" <alvarezp@alvarezp.ods.org>)
Ответы Re: History-based (or logged) database.  (elein <elein@varlena.com>)
Список pgsql-general
Hi Elein;

Nope, OLD is correct.  I track the OLD values and then use the view to
combine those with the current ones.  This allows the OLAP portions of the
code to hit against *all* the data, while archiving old, outdated
information in the archive table.  It also allows deleted tuples to be
tracked with the same trigger since a deleted row doesn't exactly have a NEW
tuple :-) Maybe you misunderstand what I am trying to do?

Best WIshes,
Chris Travers


В списке pgsql-general по дате отправления:

Предыдущее
От: Sai Hertz And Control Systems
Дата:
Сообщение: Re: insertion with trigger failed unexpectedly
Следующее
От: David Garamond
Дата:
Сообщение: Re: Drawbacks of using BYTEA for PK?