Re: Logical Replication postgres 10.5 - Mailing list pgsql-admin

From Achilleas Mantzios
Subject Re: Logical Replication postgres 10.5
Date
Msg-id dae95cae-a14a-1bf7-aa1c-1784d4c0ed78@matrix.gatewaynet.com
Whole thread Raw
In response to Logical Replication postgres 10.5  (Mai Peng <maily.peng@webedia-group.com>)
List pgsql-admin
On 28/5/19 8:21 π.μ., Mai Peng wrote:
Hello,
Is Logical Replication ignore foreign key constraint ? How does it possible ?
The apply process on the subscriber runs with session_replication_role set to replica, this limits trigger firing, excluding normal triggers . FK constraints in pgsql are implemented with triggers, hence the behavior you are observing.
Thank you




-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Logical Replication postgres 10.5
Next
From: Laurenz Albe
Date:
Subject: Re: Logical Replication postgres 10.5