Re: Porting Schema from MySQL

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Porting Schema from MySQL
Дата
Msg-id AD820326-833D-4E2E-8AE9-E08623A4B513@seespotcode.net
обсуждение исходный текст
Ответ на Porting Schema from MySQL  ("Farhan Khan" <farhankhan@google.com>)
Список pgsql-general
On Oct 1, 2007, at 14:54 , Farhan Khan wrote:

> Any pointer for implementing this functionality in postgresql ??

Write a trigger that fires on update and replaces the value with
CURRENT_TIMESTAMP.

You could probably do something like this with rules as well, but the
trigger method is probably more straightforward.

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: It's time to support GRANT SELECT,UPDATE,...,...,... ON database.* to username
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Partitioned table limitation