postgres.git / summary / log / commit / refs

commit    fa65a022db26bc446fb67ce1d7ac543fa4bb72e4
Author:   David Rowley <drowley@postgresql.org>
Date:     Thu May 16 12:39:15 2024 +0000
First released in: 17.0

    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


doc/src/sgml/ref/alter_subscription.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <replaceable class="parameter">name</replaceable> RENAME TO < Commands <command>ALTER SUBSCRIPTION ... REFRESH PUBLICATION</command>, <command>ALTER SUBSCRIPTION ... {SET|ADD|DROP} PUBLICATION ...</command> with <literal>refresh</literal> option as <literal>true</literal> and - <command>ALTER SUBSCRIPTION ... SET (failover = on|off)</command> + <command>ALTER SUBSCRIPTION ... SET (failover = true|false)</command> cannot be executed inside a transaction block. These commands also cannot be executed when the subscription has [parent: 94af84f00c5f]