Re: Last modification time

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Last modification time
Дата
Msg-id 87k6c1pwik.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: Last modification time  (Johan Vromans <jvromans@squirrel.nl>)
Ответы Re: Last modification time  (Philippe Ferreira <phil.f@worldonline.fr>)
Re: Last modification time  (Johan Vromans <jvromans@squirrel.nl>)
Список 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 по дате отправления:

Предыдущее
От: Johan Vromans
Дата:
Сообщение: Re: Last modification time
Следующее
От: "Nina"
Дата:
Сообщение: "psql -At -F" export column from table to .csv