Re: [HACKERS] Logical replication failing when foreign key present - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Logical replication failing when foreign key present
Date
Msg-id 441fdba6-78d4-3950-aec2-1a3136f00f28@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Logical replication failing when foreign key present  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
List pgsql-hackers
On 1/22/17 18:07, Petr Jelinek wrote:
> On 22/01/17 18:50, Thom Brown wrote:
>> There's an issue which I haven't seen documented as expected
>> behaviour, where replicating data to a table which has a foreign key
>> results in a replication failure.  This produces the following log
>> entries:

> Hi, thanks for report.
> 
> Looks like I missed AfterTriggerBeginQuery/AfterTriggerEndQuery when
> moving the executor stuff around. Attached should fix it.

This has been fixed.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] patch: function xmltable
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] patch: function xmltable