Document a few caveats in synchronous logical replication.

Amit Kapila <akapila@postgresql.org>

Commit: eb231dbd80d2318e27e9b4d0aa72696de6e6b32f
Author: Amit Kapila <akapila@postgresql.org>
Date: 2021-06-17T05:10:56Z
Releases: 12.8
Document a few caveats in synchronous logical replication.

In a synchronous logical setup, locking [user] catalog tables can cause
deadlock. This is because logical decoding of transactions can lock
catalog tables to access them so exclusively locking those in transactions
can lead to deadlock. To avoid this users must refrain from having
exclusive locks on catalog tables.

Author: Takamichi Osumi
Reviewed-by: Vignesh C, Amit Kapila
Backpatch-through: 9.6
Discussion: https://www.postgresql.org/message-id/20210222222847.tpnb6eg3yiykzpky%40alap3.anarazel.de

Files

PathChange+/−
doc/src/sgml/logicaldecoding.sgml modified +57 −19

Documentation touched

Discussion