NEW and OLD as ROWS

Поиск
Список
Период
Сортировка
От Craig Servin
Тема NEW and OLD as ROWS
Дата
Msg-id 200508031252.24844.cservin@cromagnon.com
обсуждение исходный текст
Ответы Re: NEW and OLD as ROWS  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
I am writing an update trigger that I want to fire when any field changes.  It 
looks like two ROWS can be compared very easily, but not the two RECORDS OLD 
and NEW.

Is there a way to do:

NEW IS DISTINCT FROM OLD

in a trigger?

This would help me not have to write a specific trigger for each table.

Thanks,

Craig


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

Предыдущее
От: "codeWarrior"
Дата:
Сообщение: Re: Breakdown results by month
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: NEW and OLD as ROWS