Re: Update foreign table with trigger

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Update foreign table with trigger
Date: 2016-02-26 18:55:23
Message-ID: 56D09F9B.30803@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leonardo M. Ramé 2016-02-26 18:59:58 Possible bug in psql 9.4.4
Previous Message Jerry Sievers 2016-02-26 18:45:09 Re: Privileges granted on dblink extension function do not survive database dump and restore