Re: Trigger issue, bug? on 7.2.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trigger issue, bug? on 7.2.1
Дата
Msg-id 19094.1047998060@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trigger issue, bug? on 7.2.1  ("Miguel Carvalho" <miguel@ipatimup.pt>)
Ответы Re: Trigger issue, bug? on 7.2.1  ("Miguel Carvalho" <miguel@ipatimup.pt>)
Список pgsql-general
"Miguel Carvalho" <miguel@ipatimup.pt> writes:
> The trigger code will force another trigger fire because of the changes
> in the record. I'm i right?

No, altering the NEW record doesn't cause any additional trigger
firings.  If it did, such a trigger would be infinitely recursive.

Your DELETE issued by the trigger would cause firing of ON DELETE
triggers, but not another firing of ON UPDATE.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Red Hat snubbed by Oracle
Следующее
От: Tom Lane
Дата:
Сообщение: Re: insert aliases?