summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2025-02-27 03:20:03 +0000
committerAmit Kapila2025-02-27 03:20:03 +0000
commit845511a72ad01838c9e1766e031d2862cd021801 (patch)
tree2c5fa8c0d5b211e9845794a6316bde3f32cf69ba
parent495864a4cf16530c5174f264668c87b780c4cf22 (diff)
Doc: Additional clarification for -d option of pg_createsubscriber.
Author: vignesh C <[email protected]> Reviewed-by: Amit Kapila <[email protected]> Discussion: https://postgr.es/m/CALDaNm0zsFUYpe-tLha+-sp3K8KmBXu0o=LUN=8FFtxMLYikPA@mail.gmail.com
-rw-r--r--doc/src/sgml/ref/pg_createsubscriber.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml
index 65caa3f5095..b4b996236e4 100644
--- a/doc/src/sgml/ref/pg_createsubscriber.sgml
+++ b/doc/src/sgml/ref/pg_createsubscriber.sgml
@@ -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>