Re: Check if trigger was fired deferred

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: Miroslav Šimulčík <simulcik(dot)miro(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Check if trigger was fired deferred
Date: 2013-02-27 09:33:00
Message-ID: CAFjNrYt5aESoaWsSfSQyH+sY07ML39thNjtyN7jmdKN_HXCDXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 27 February 2013 10:20, Miroslav Šimulčík <simulcik(dot)miro(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2013-02-27 09:38:54 Re: Review : Add hooks for pre- and post-processor executables for COPY and \copy
Previous Message Miroslav Šimulčík 2013-02-27 09:20:47 Check if trigger was fired deferred