]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Document a few caveats in synchronous logical replication.
authorAmit Kapila <akapila@postgresql.org>
Thu, 17 Jun 2021 06:02:46 +0000 (11:32 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 17 Jun 2021 06:02:46 +0000 (11:32 +0530)
commitff33be61f212a521449565829904adab3e738524
treee0e49a11f42ba4ca2a546c28645bb78b09d8cf12
parentfeac82fa8550b4ae483993674e1676911ebe0546
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
doc/src/sgml/logicaldecoding.sgml