From: David Rowley Date: Thu, 16 May 2024 12:39:15 +0000 (+1200) Subject: Doc: use true|false rather than on|off for "failover" option X-Git-Tag: REL_17_BETA1~24 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=fa65a022db26bc446fb67ce1d7ac543fa4bb72e4;p=postgresql.git Doc: use true|false rather than on|off for "failover" option The CREATE SUBSCRIPTION documentation mentions "false" is the default option, so let's use true|false rather than on|off in the text which talks about this option in the ALTER SUBSCRIPTION page. The other boolean options mentioned in create_subscription.sgml use true and false so it makes sense to be consistent with these. The "failover" option is new to v17. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Ps-RqrggaJU5w85BbeQzw9CLmmLgADVJoJ=xx_4D5CWvw@mail.gmail.com --- diff --git a/doc/src/sgml/ref/alter_subscription.sgml b/doc/src/sgml/ref/alter_subscription.sgml index a78c1c3a478..476f1956223 100644 --- a/doc/src/sgml/ref/alter_subscription.sgml +++ b/doc/src/sgml/ref/alter_subscription.sgml @@ -69,7 +69,7 @@ ALTER SUBSCRIPTION name RENAME TO < Commands ALTER SUBSCRIPTION ... REFRESH PUBLICATION, ALTER SUBSCRIPTION ... {SET|ADD|DROP} PUBLICATION ... with refresh option as true and - ALTER SUBSCRIPTION ... SET (failover = on|off) + ALTER SUBSCRIPTION ... SET (failover = true|false) cannot be executed inside a transaction block. These commands also cannot be executed when the subscription has