Re: get a list of table modifications in a day? - Mailing list pgsql-general

From Ottavio Campana
Subject Re: get a list of table modifications in a day?
Date
Msg-id 46E8F879.3010303@campana.vi.it
Whole thread Raw
In response to Re: get a list of table modifications in a day?  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: get a list of table modifications in a day?
List 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?



Attachment

pgsql-general by date:

Previous
From: Gregory Stark
Date:
Subject: Re: get a list of table modifications in a day?
Next
From: "A. Kretschmer"
Date:
Subject: Re: get a list of table modifications in a day?