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

Поиск
Список
Период
Сортировка
От Ottavio Campana
Тема Re: get a list of table modifications in a day?
Дата
Msg-id 46E8F879.3010303@campana.vi.it
обсуждение исходный текст
Ответ на Re: get a list of table modifications in a day?  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: get a list of table modifications in a day?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
hubert depesz lubaczewski ha scritto:
> 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

since I already use triggers on that table, can I use table_log?

I mean, can I have two triggers for the same event on the same table?



Вложения

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: get a list of table modifications in a day?
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: get a list of table modifications in a day?