Implement updated column in all tables

Поиск
Список
Период
Сортировка
I have the following column in all my tables which contains data of last
update of this row:

updated timestamp without time zone DEFAULT now() NOT NULL,

Hor to force Postgres to update this column automatically  with now() value
every time when row is updated ?

I have about 100 tables and don't like to write 100 triggers.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postmaster link to postgres executable
Следующее
От: "Andrus"
Дата:
Сообщение: How to force Postgres to calculate MAX(boolean)