Re: Trace triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trace triggers
Дата
Msg-id 9431.1105631598@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trace triggers  (Marek Lewczuk <newsy@lewczuk.com>)
Список pgsql-general
Marek Lewczuk <newsy@lewczuk.com> writes:
> I have a table with many triggers. Now, it can happen that in middle of
> execution one of table's triggers there will be unknown error (like
> "NEW" is not assigned yet) - is there a way to trace which trigger fired
> this error ?

Use PG 7.4 or later, and look at the CONTEXT part of the error message.

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: vacuum vs open transactions
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: [HACKERS] Much Ado About COUNT(*)