From 5b6e0869a3bf42a88737b42cc4ca79893a038a79 Mon Sep 17 00:00:00 2001 From: Vignesh C Date: Fri, 4 Dec 2026 19:33:42 +0530 Subject: [PATCH v4] doc: Show how to find a subscription's conflict log table. Add a query on pg_subscription, with its output, to the table-based conflict logging section of the logical replication documentation. It shows the conflict log destination and the conflict log table of each subscription. --- doc/src/sgml/logical-replication.sgml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml index 66dbb65aa48..cdf09d974f7 100644 --- a/doc/src/sgml/logical-replication.sgml +++ b/doc/src/sgml/logical-replication.sgml @@ -2286,6 +2286,20 @@ DETAIL: detailed_explanation[: . + + The conflict log destination and the conflict log table of each + subscription can be found in + pg_subscription: + +SELECT subname, subconflictlogdest, subconflictlogrelid::regclass +FROM pg_subscription; + subname | subconflictlogdest | subconflictlogrelid +---------+--------------------+----------------------------------- + sub1 | all | pg_conflict.pg_conflict_log_16392 +(1 row) + + + Only resolved conflicts (logged at LOG level where the -- 2.55.0