File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -754,16 +754,18 @@ OutputPluginWrite(ctx, true);
754
754
755
755
<para>
756
756
In synchronous replication setup, a deadlock can happen, if the transaction
757
- has locked [user] catalog tables exclusively. This is because logical decoding of
758
- transactions can lock catalog tables to access them. To avoid this users
759
- must refrain from taking an exclusive lock on [user] catalog tables. This can
760
- happen in the following ways:
757
+ has locked [user] catalog tables exclusively. See
758
+ <xref linkend="logicaldecoding-capabilities"/> for information on user
759
+ catalog tables. This is because logical decoding of transactions can lock
760
+ catalog tables to access them. To avoid this users must refrain from taking
761
+ an exclusive lock on [user] catalog tables. This can happen in the following
762
+ ways:
761
763
762
764
<itemizedlist>
763
765
<listitem>
764
766
<para>
765
767
Issuing an explicit <command>LOCK</command> on <structname>pg_class</structname>
766
- (or any other catalog table) in a transaction.
768
+ in a transaction.
767
769
</para>
768
770
</listitem>
769
771
@@ -781,6 +783,10 @@ OutputPluginWrite(ctx, true);
781
783
</para>
782
784
</listitem>
783
785
</itemizedlist>
786
+
787
+ Note that these commands that can cause deadlock apply to not only explicitly
788
+ indicated system catalog tables above but also to any other [user] catalog
789
+ table.
784
790
</para>
785
791
</sect2>
786
792
</sect1>
You can’t perform that action at this time.
0 commit comments