Re: Last modification time

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Johan Vromans <jvromans(at)squirrel(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Last modification time
Date: 2006-02-11 18:42:43
Message-ID: 87k6c1pwik.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Johan Vromans <jvromans(at)squirrel(dot)nl> writes:

> Doug McNaught <doug(at)mcnaught(dot)org> writes:
>
>> I would put an AFTER trigger on all the tables concerned that
>> inserts a row into an audit table. [...] Audit tables are useful for
>> other things too, if you can afford them.
>
> I think auditing is much too heavy for something simple as finding the
> last modification timestamp. Yes, it may be the only alternative, but
> a heavy one...

Yeah, LISTEN/NOTIFY is definitely a lighter-weight solution--I didn't
think of that before.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Ferreira 2006-02-11 18:54:34 Re: Last modification time
Previous Message Johan Vromans 2006-02-11 18:17:49 Re: Last modification time