plperl function called > once in cascading triggers

Поиск
Список
Период
Сортировка
От Kenneth Downs
Тема plperl function called > once in cascading triggers
Дата
Msg-id 45F88EB4.3000109@secdat.com
обсуждение исходный текст
Ответы Re: plperl function called > once in cascading triggers  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Consider the case where an AFTER STATEMENT trigger calls a plperl
function which performs a loop.  Inside of the loop it updates at least
one other table.

The table being updated has an AFTER STATEMENT trigger that calls the
same plperl function (w/different parms of course), which goes into
another loop.

Presumably this could go to any number of levels.

What I have noticed is that once the innermost instance exits, none of
the outer instances execute any further, suggesting that the plperl
routine is not "re-entrant" (if I am using that term correctly).

Is this right?  Am I missing something?


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

Предыдущее
От: Ken Johanson
Дата:
Сообщение: Native type for storing fractions (e.g 1/3)?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to write a function that manipulates a set of results