| From: | Miroslav Šimulčík <simulcik(dot)miro(at)gmail(dot)com> |
|---|---|
| To: | Szymon Guz <mabewlun(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:43:21 |
| Message-ID: | CAHRNM6-aV1Q9SVFRyThV9rPFM0xtB8zpjGifh6yMd=YDLpJxKA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gmail(dot)com>
>
> 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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thom Brown | 2013-02-27 09:52:38 | Re: pgsql: Fix pg_dumpall with database names containing = |
| Previous Message | Boszormenyi Zoltan | 2013-02-27 09:40:16 | Re: Strange Windows problem, lock_timeout test request |