Re: date stamp on update?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: date stamp on update?
Дата
Msg-id 16214.1227395024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на date stamp on update?  ("blackwater dev" <blackwaterdev@gmail.com>)
Список pgsql-general
"blackwater dev" <blackwaterdev@gmail.com> writes:
> Is there a datatype in postgres that will automatically update the date when
> the row is updated?

No, and it's conceptually impossible to make that happen at the datatype
level.  Use a trigger.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Using Postgres to store high volume streams of sensor readings
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: date stamp on update?