Is there a way to know if trigger is invoked by the code from another trigger

From: "Naoko Reeves" <naoko(at)lawlogix(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Is there a way to know if trigger is invoked by the code from another trigger
Date: 2009-10-11 17:51:49
Message-ID: 076DC33A3D38CE4BBC64D35DDD9DE70C09436947@mse4be2.mse4.exchange.ms
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Could you tell me if there is a way to know if trigger is invoked by the
code from another trigger?

For instance, table A Trigger deletes table B record. While in table B
trigger, I want to know whether this was triggered from table A.

Thank you,

Naoko

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-10-11 18:32:26 Re: Granting rights
Previous Message Otandeka Simon Peter 2009-10-11 17:05:49 Granting rights