PostgreSQL FDW + Trigger on Remote DB = WARNING: there is no transaction in progress

From: Peter Olivier <Peter(dot)Olivier(at)mediashop(dot)be>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: PostgreSQL FDW + Trigger on Remote DB = WARNING: there is no transaction in progress
Date: 2016-07-12 09:39:46
Message-ID: 1468316384795.75095@mediashop.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have the following setup:

Database Local has a table L1

Database Remote has a table R1 and a table R2.

Table Remote.R1 has a trigger. This trigger updates Remote.R2

I create a foreign table F1 on Database local which points to Remote.R1

When updating F1 the trigger on Remote.R1 fires but gives the following warning:

WARNING: there is no transaction in progress

When the trigger does not update another table everything works fine.

Any suggestions?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dandl 2016-07-12 10:41:39 Question about antijoin
Previous Message Albe Laurenz 2016-07-12 09:12:23 Re: Slow SQL?