From e6c004c554206936358ec6092603a0770b955c1b Mon Sep 17 00:00:00 2001 From: Hou Zhijie Date: Thu, 18 Jul 2024 20:45:37 +0800 Subject: [PATCH] fix doc of the subscription failover option The documentation incorrectly stated that users cannot alter subscription's failover option when two-phase commit is enabled. This commit corrects this misunderstanding. --- doc/src/sgml/ref/alter_subscription.sgml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/alter_subscription.sgml b/doc/src/sgml/ref/alter_subscription.sgml index 476f195622..2ccbf5e489 100644 --- a/doc/src/sgml/ref/alter_subscription.sgml +++ b/doc/src/sgml/ref/alter_subscription.sgml @@ -71,8 +71,13 @@ ALTER SUBSCRIPTION name RENAME TO < with refresh option as true and ALTER SUBSCRIPTION ... SET (failover = true|false) cannot be executed inside a transaction block. + - These commands also cannot be executed when the subscription has + + Commands ALTER SUBSCRIPTION ... REFRESH PUBLICATION and + ALTER SUBSCRIPTION ... {SET|ADD|DROP} PUBLICATION ... + with refresh option as true also cannot + be executed when the subscription has two_phase commit enabled, unless copy_data -- 2.30.0.windows.2