Re: newbie: update timestamp trigger?

Поиск
Список
Период
Сортировка
От Rodrigo De León
Тема Re: newbie: update timestamp trigger?
Дата
Msg-id a55915760710231241s619d66e1iad56f0c2a1117e0b@mail.gmail.com
обсуждение исходный текст
Ответ на newbie: update timestamp trigger?  (ahnf <interz12@yahoo.com>)
Список pgsql-general
On 10/23/07, ahnf <interz12@yahoo.com> wrote:
> Whenever a row is updated in a table with a timestamp column. How do I write a trigger to set that timestamp column
tonow() or the current timestamp? 

Straight from the horse's mouth:
http://www.postgresql.org/docs/8.2/static/plpgsql-trigger.html#PLPGSQL-TRIGGER-EXAMPLE

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

Предыдущее
От: ahnf
Дата:
Сообщение: newbie: update timestamp trigger?
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: newbie: update timestamp trigger?