Re: Logical Replication postgres 10.5

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: Logical Replication postgres 10.5
Дата
Msg-id dae95cae-a14a-1bf7-aa1c-1784d4c0ed78@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Logical Replication postgres 10.5  (Mai Peng <maily.peng@webedia-group.com>)
Список 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 по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Logical Replication postgres 10.5
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Logical Replication postgres 10.5