date stamp on update?

Поиск
Список
Период
Сортировка
От blackwater dev
Тема date stamp on update?
Дата
Msg-id 34a9824e0811221434i262d47b0r45019921e24b4a9b@mail.gmail.com
обсуждение исходный текст
Ответы Re: date stamp on update?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: date stamp on update?  (Martin Gainty <mgainty@hotmail.com>)
Re: date stamp on update?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
Is there a datatype in postgres that will automatically update the date when the row is updated?  I know I can do a timestamp and set the default to now() but once the row is inserted, and then edited, I want the column updated without editing my application code or adding a trigger.  Is this possible with Postgres?

Thanks!

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Using Postgres to store high volume streams of sensor readings
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Postgres mail list traffic over time