Doc: Additional clarification for -d option of pg_createsubscriber.
authorAmit Kapila <[email protected]>
Thu, 27 Feb 2025 03:20:03 +0000 (08:50 +0530)
committerAmit Kapila <[email protected]>
Thu, 27 Feb 2025 03:20:03 +0000 (08:50 +0530)
Author: vignesh C <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Discussion: https://postgr.es/m/CALDaNm0zsFUYpe-tLha+-sp3K8KmBXu0o=LUN=8FFtxMLYikPA@mail.gmail.com

doc/src/sgml/ref/pg_createsubscriber.sgml

index 65caa3f50959eb1b74063edfca89cd4880461a35..b4b996236e470e54c948b169b197c150094c1c91 100644 (file)
@@ -94,7 +94,10 @@ PostgreSQL documentation
       <para>
        The name of the database in which to create a subscription.  Multiple
        databases can be selected by writing multiple <option>-d</option>
-       switches.
+       switches. If <option>-d</option> option is not provided, the database
+       name will be obtained from <option>-P</option> option. If the database
+       name is not specified in either the <option>-d</option> option or
+       <option>-P</option> option, an error will be reported.
       </para>
      </listitem>
     </varlistentry>