Re: get a list of table modifications in a day?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: get a list of table modifications in a day?
Дата
Msg-id 20070913080916.GB8894@depesz.com
обсуждение исходный текст
Ответ на get a list of table modifications in a day?  (Ottavio Campana <ottavio@campana.vi.it>)
Ответы Re: get a list of table modifications in a day?  (Ottavio Campana <ottavio@campana.vi.it>)
Список pgsql-general
On Thu, Sep 13, 2007 at 09:59:30AM +0200, Ottavio Campana wrote:
> 1) pg_dump each day and run diff

it will become increasingly painful as the table size increases.

> 2) modify some triggers we use and store the information in another table

this is the best choice. you can use table_log extension to avoid
writing your own triggers.

http://ads.wars-nicht.de/blog/archives/100-Log-Table-Changes-in-PostgreSQL-with-tablelog.html

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: ON UPDATE trigger question
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Cannot declare record members NOT NULL