Enhancement proposal - detect chain of triggers from inside the trigger

From: Edson Richter <edsonrichter(at)hotmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Enhancement proposal - detect chain of triggers from inside the trigger
Date: 2013-01-15 23:30:20
Message-ID: BLU0-SMTP4154E8A2E90F6EFDAD4DB6BCF2D0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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).

Would help debug database triggers that have cascaded events.

Regards,

Edson

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-01-15 23:36:12 Re: Enhancement proposal - detect chain of triggers from inside the trigger
Previous Message Venky Kandaswamy 2013-01-15 22:44:50 Re: [SQL] Curious problem of using BETWEEN with start and end being the same versus EQUALS '='