Document a few caveats in synchronous logical replication.
authorAmit Kapila <akapila@postgresql.org>
Thu, 17 Jun 2021 04:26:05 +0000 (09:56 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 17 Jun 2021 04:26:05 +0000 (09:56 +0530)
commit3cb828dbe26087e7754f49f3cfe3ed036d5af439
treec6caf619105e6cad980dc4b69c959257b1947ef9
parent131ea3e908d3c97a2fe1ab25cce5046dd5cb905f
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