From 756886e59afddd09fa6f87ab95af7292ebca3e76 Mon Sep 17 00:00:00 2001 From: Bertrand Drouvot Date: Tue, 30 Jan 2024 14:48:16 +0000 Subject: [PATCH v1] Documentation: warn about two_phase when altering a subscription's slot name. 776621a5e4 added a warning about the newly failover option. Doing the same for the already existing two_phase one. --- doc/src/sgml/ref/alter_subscription.sgml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 100.0% doc/src/sgml/ref/ diff --git a/doc/src/sgml/ref/alter_subscription.sgml b/doc/src/sgml/ref/alter_subscription.sgml index e9e6d9d74a..cd553f6312 100644 --- a/doc/src/sgml/ref/alter_subscription.sgml +++ b/doc/src/sgml/ref/alter_subscription.sgml @@ -235,15 +235,17 @@ ALTER SUBSCRIPTION name RENAME TO < When altering the slot_name, - the failover property value of the named slot may differ from the + the failover and two_phase properties + values of the named slot may differ from their counterparts failover - parameter specified in the subscription. When creating the slot, - ensure the slot failover property matches the + and two_phase + parameters specified in the subscription. When creating the slot, ensure + the slot failover and two_phase + properties match their counterparts parameters values of the subscription. + Otherwise, the slot on the publisher may behave differently from what subscription's failover - parameter value of the subscription. Otherwise, the slot on the - publisher may behave differently from what subscription's - failover - option says. The slot on the publisher could either be + and two_phase + options say: for example, the slot on the publisher could either be synced to the standbys even when the subscription's failover option is disabled or could be disabled for sync -- 2.34.1