Re: A generic trigger to log chanes on database tables

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: A generic trigger to log chanes on database tables
Дата
Msg-id 20061123165209.GA24093@a-kretschmer.de
обсуждение исходный текст
Ответ на A generic trigger to log chanes on database tables  ("Charles Ambrose" <jamjam360@gmail.com>)
Список pgsql-general
am  Fri, dem 24.11.2006, um  0:32:30 +0800 mailte Charles Ambrose folgendes:
> Hi!
>
> Is there a way that I could create a trigger that logs the changes (updates,
> deletes) of a table? I mean, I want to put in a table the changes to any table
> in a database and also put in the table the column that was modified and the
> corresponding value.

Not a generic way, you must create a audit-table for every desired
table, but it works:

http://pgfoundry.org/projects/tablelog/


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: COPY FROM : out of memory
Следующее
От: Terry Fielder
Дата:
Сообщение: Re: COPY FROM : out of memory