Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Doc: Fix the datatype of the newly added SUBSCRIPTION options.
authorAmit Kapila <akapila@postgresql.org>
Sat, 8 Apr 2023 04:12:50 +0000 (09:42 +0530)
committerAmit Kapila <akapila@postgresql.org>
Sat, 8 Apr 2023 04:12:50 +0000 (09:42 +0530)
In docs, the datatype of "password_required" and "run_as_owner" was
incorrectly specified as a string.

Author: Amit Kapila
Reviewed-by: Sawada Masahiko
Discussion: https://postgr.es/m/CAHut+Pu=pnJf=SS1583pknSQ3CbOqLCkWcJCQYt6zxTagHEdmw@mail.gmail.com

doc/src/sgml/ref/create_subscription.sgml

index 68aa2b47f2d2d42168eea82f7c8dfe51d60e1ce7..4c2db4c30db42d5d703e40c3a44797d5d3c51e70 100644 (file)
@@ -354,7 +354,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
        </varlistentry>
 
        <varlistentry id="sql-createsubscription-with-password-required">
-        <term><literal>password_required</literal> (<type>string</type>)</term>
+        <term><literal>password_required</literal> (<type>boolean</type>)</term>
         <listitem>
          <para>
           Specifies whether connections to the publisher made as a result
@@ -367,7 +367,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
        </varlistentry>
 
        <varlistentry id="sql-createsubscription-with-run-as-owner">
-        <term><literal>run_as_owner</literal> (<type>string</type>)</term>
+        <term><literal>run_as_owner</literal> (<type>boolean</type>)</term>
         <listitem>
          <para>
           If true, all replication actions are performed as the subscription