Re: Check if trigger was fired deferred - Mailing list pgsql-hackers

From Miroslav Šimulčík
Subject Re: Check if trigger was fired deferred
Date
Msg-id CAHRNM6-aV1Q9SVFRyThV9rPFM0xtB8zpjGifh6yMd=YDLpJxKA@mail.gmail.com
Whole thread Raw
In response to Re: Check if trigger was fired deferred  (Szymon Guz <mabewlun@gmail.com>)
List pgsql-hackers
I think tgdeferrable only tells if trigger can be deferred, not if it was actually fired deferred.

Miro


2013/2/27 Szymon Guz <mabewlun@gmail.com>

On 27 February 2013 10:20, Miroslav Šimulčík <simulcik.miro@gmail.com> wrote:
Hi all,

how can I check inside C trigger function if it was fired deferred?

Thank you.

Regards,
Miro


I'd try tgdeferrable from Trigger struct: http://www.postgresql.org/docs/9.2/static/trigger-interface.html

regards
Szymon

pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: Strange Windows problem, lock_timeout test request
Next
From: Andres Freund
Date:
Subject: Re: pg_xlogdump compiler warning