Doc: use true|false rather than on|off for "failover" option
authorDavid Rowley
Thu, 16 May 2024 12:39:15 +0000 (00:39 +1200)
committerDavid Rowley
Thu, 16 May 2024 12:39:15 +0000 (00:39 +1200)
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

doc/src/sgml/ref/alter_subscription.sgml

index a78c1c3a478e30b7e98c8966fd38695d0a29903f..476f1956223806cbcde14146723a67361ce5e131 100644 (file)
@@ -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