Re: Trigger function interface - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: Trigger function interface
Date
Msg-id 20160108.091502.1187252949469608700.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Trigger function interface  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Trigger function interface
List pgsql-general
> On 1/6/16 7:03 PM, Tatsuo Ishii wrote:
>> Is it possible to get the parse tree in a C trigger function which is
>> invoked when DML (INSERT/UPDATE/DELETE against a view) is executed?
>
> Yes, it's in fcinfo->flinfo->fn_expr.

Thanks for the info. But is this the parse tree for the top level
query which involves the trigger?

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Any way to selectively color query output in psql?
Next
From: "Steve Petrie, P.Eng."
Date:
Subject: Re: Question -- Session Operations - Feasibility Of Proposed Synchronization Method?