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