Re: problem with ON UPDATE rule

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problem with ON UPDATE rule
Дата
Msg-id 20468.1280770469@sss.pgh.pa.us
обсуждение исходный текст
Ответ на problem with ON UPDATE rule  (Phil Dagosto <phildagosto@gmail.com>)
Список pgsql-general
Phil Dagosto <phildagosto@gmail.com> writes:
> I am trying to use event notifications controlled by an ON UPDATE
> rule.

Rules don't work the way you are hoping --- in particular, the NOTIFY
will fire whether or not any individual rows get inserted.  You might
have better luck using a trigger instead.

            regards, tom lane

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

Предыдущее
От: Phil Dagosto
Дата:
Сообщение: problem with ON UPDATE rule
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: solaris slow