Re: Trigger function interface

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: Jim(dot)Nasby(at)BlueTreble(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trigger function interface
Date: 2016-01-08 00:15:02
Message-ID: 20160108.091502.1187252949469608700.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Petrie, P.Eng. 2016-01-08 00:30:25 Re: Question -- Session Operations - Feasibility Of Proposed Synchronization Method?
Previous Message David G. Johnston 2016-01-07 21:34:40 Re: Any way to selectively color query output in psql?