Invocation recognition.

Поиск
Список
Период
Сортировка
От Marek PUBLICEWICZ
Тема Invocation recognition.
Дата
Msg-id Pine.SOL.4.30.0107141632370.5392-100000@elektron.elka.pw.edu.pl
обсуждение исходный текст
Список pgsql-general
Hello,

    I wonder if it would be possible inside a trigger fired
BEFORE UPDATE to detect, whether the action (UPDATE), which
activated the trigger was invoked from inside another trigger.
Is it possible to distinguish invocation from the other trigger from
the direct invocation made by the user 'by hand'? I need it in order to
determine in the BEFORE UPDATE trigger, whether to allow to perform the
update.
   The triggers are written in C, if this matters.

any help appreciated ;)
                    mark



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Nusphere/MySQL-AB arguing
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Nusphere/MySQL-AB arguing