Re: Triggers on columns

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Triggers on columns
Дата
Msg-id 1251978293.4154.2.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: Triggers on columns  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: Triggers on columns  (Robert Haas <robertmhaas@gmail.com>)
Re: Triggers on columns  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Re: Triggers on columns  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Thu, 2009-09-03 at 16:25 +0900, Itagaki Takahiro wrote:
> I'd like to check conditions by comparing actual values but not
> a target of UPDATE statement because I think almost user expects
> the former behavior. Unmodified UPDATE-targets are common case
> if we use a framework that generates SQL statements internally.

The SQL standard specifies that a trigger is fired if the column is
mentioned in the UPDATE statement, independent of whether the value is
actually changed through the update.



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Fwd: Copy out wording
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Triggers on columns