Re: Update foreign table with trigger - Mailing list pgsql-general

From John R Pierce
Subject Re: Update foreign table with trigger
Date
Msg-id 56D09F9B.30803@hogranch.com
Whole thread Raw
In response to Update foreign table with trigger  (Leonardo M. Ramé <l.rame@griensu.com>)
Responses Re: Update foreign table with trigger  (Leonardo M. Ramé <l.rame@griensu.com>)
List pgsql-general
On 2/26/2016 10:29 AM, Leonardo M. Ramé wrote:
> Hi, I created a Postgres_FDW table (TABLE_A) and need to do an update
> on that table.
>
> As TABLE_A has a trigger, and the trigger does an insert on another
> table (TABLE_B), I had to create another foreign table called TABLE_B,
> that's ok.


that trigger is defined on the server that actually has table_a,
right?   or did you define a trigger on the FDW table ?

--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Jerry Sievers
Date:
Subject: Re: Privileges granted on dblink extension function do not survive database dump and restore
Next
From: Leonardo M. Ramé
Date:
Subject: Possible bug in psql 9.4.4