Re: Keep history of modifications

Поиск
Список
Период
Сортировка
От Duane Lee - EGOVX
Тема Re: Keep history of modifications
Дата
Msg-id 64EDC403A1417B4299488BAE87CA7CBF01CD0E7A@maricopa_xcng0
обсуждение исходный текст
Ответ на Keep history of modifications  ("Daniel Devico" <danico.info@free.fr>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: doubt
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Different runtime on the same query