Implement updated column in all tables

Поиск
Список
Период
Сортировка
От Andrus
Тема Implement updated column in all tables
Дата
Msg-id dajaik$4qn$1@news.hub.org
обсуждение
Ответы Re: Implement updated column in all tables
Re: Implement updated column in all tables
Список pgsql-general
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 по дате отправления: