aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2025-02-27 08:50:03 +0530
committerAmit Kapila <akapila@postgresql.org>2025-02-27 08:50:03 +0530
commit845511a72ad01838c9e1766e031d2862cd021801 (patch)
tree2c5fa8c0d5b211e9845794a6316bde3f32cf69ba
parent495864a4cf16530c5174f264668c87b780c4cf22 (diff)
downloadpostgresql-845511a72ad01838c9e1766e031d2862cd021801.tar.gz
postgresql-845511a72ad01838c9e1766e031d2862cd021801.zip
Doc: Additional clarification for -d option of pg_createsubscriber.
Author: vignesh C <vignesh21@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> 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>