Re: Auto-updated fields

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Auto-updated fields
Дата
Msg-id 20080508064446.GA16326@svana.org
обсуждение исходный текст
Ответ на Auto-updated fields  (David Fetter <david@fetter.org>)
Ответы Re: Auto-updated fields  (Zoltan Boszormenyi <zb@cybertec.at>)
Re: Auto-updated fields  (David Fetter <david@fetter.org>)
Список pgsql-hackers
On Wed, May 07, 2008 at 03:04:49PM -0700, David Fetter wrote:
> 1.  Create a generic (possibly overloaded) trigger function, bundled
> with PostgreSQL, which sets a field to some value.  For example, a
> timestamptz version might set the field to now().

Doesn't the SQL standard GENERATED BY functionality work for this? Or
won't that handle updates?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: [0/4] Proposal of SE-PostgreSQL patches
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: dbmirror - migration to 8.3 from 7.4