Re: Last modification time - Mailing list pgsql-general

From Doug McNaught
Subject Re: Last modification time
Date
Msg-id 87k6c1pwik.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Re: Last modification time  (Johan Vromans <jvromans@squirrel.nl>)
Responses Re: Last modification time  (Philippe Ferreira <phil.f@worldonline.fr>)
Re: Last modification time  (Johan Vromans <jvromans@squirrel.nl>)
List pgsql-general
Johan Vromans <jvromans@squirrel.nl> writes:

> Doug McNaught <doug@mcnaught.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

pgsql-general by date:

Previous
From: Johan Vromans
Date:
Subject: Re: Last modification time
Next
From: "Nina"
Date:
Subject: "psql -At -F" export column from table to .csv