Re: Problems with NEW.* in triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with NEW.* in triggers
Дата
Msg-id 27275.1067991046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems with NEW.* in triggers  (Jamie Lawrence <postgres@jal.org>)
Ответы Re: Problems with NEW.* in triggers
Список pgsql-sql
Jamie Lawrence <postgres@jal.org> writes:
> I don't understand why moddate isn't getting set to now() in the above.

Josh fingered the problem there --- you need a BEFORE trigger if you
want to affect the data that will be stored.  I had missed that little
mistake :-(
        regards, tom lane


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

Предыдущее
От: Jamie Lawrence
Дата:
Сообщение: Re: Problems with NEW.* in triggers
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: query assistance