Search Postgresql Archives

Re: Trace triggers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marek Lewczuk <newsy@xxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux