]> 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 04:47:13 +0000 (10:17 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 17 Jun 2021 05:22:01 +0000 (10:52 +0530)
commit9f7bba2629cf3413638936d0376bb50403144332
tree77bbbef92f73220774a20dbd13893f9cf1ffefa8
parentd03a41d1c860ffc97bda40a3673698d4044f5c88
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