Re: Enhancement proposal - detect chain of triggers from inside the trigger

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Enhancement proposal - detect chain of triggers from inside the trigger
Дата
Msg-id CAFj8pRBa2_X0o0abLBprchEqHD-Eb_vSemLPNCBH7W-EyHqUxw@mail.gmail.com
обсуждение исходный текст
Ответ на Enhancement proposal - detect chain of triggers from inside the trigger  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: Enhancement proposal - detect chain of triggers from inside the trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
2013/1/16 Edson Richter <edsonrichter@hotmail.com>:
> I was wondering, would be a nice addition the ability to read the chain of
> triggers (may be another trigger variable like TG_OP, called "TG_CHAIN" or
> something else that will be an array with the name of the triggers called
> before current trigger).

-1

building dynamic used array, that should or should not used can
significantly decrease performance :(

if you need it, you can use workaround - session variables.

Regards

Pavel Stehule

>
> Would help debug database triggers that have cascaded events.
>
> Regards,
>
> Edson
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [pgpool-general: 1315] Re: Database connections seemingly hanging
Следующее
От: Stuart Bishop
Дата:
Сообщение: Re: Linux Distribution Preferences?