summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/logicaldecoding.sgml4
-rw-r--r--doc/src/sgml/ref/pg_recvlogical.sgml9
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 1f56b39df94..7197e9dd0a4 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -149,7 +149,7 @@ postgres=# SELECT pg_drop_replication_slot('regression_slot');
another connection.
</para>
<programlisting>
-# pg_recvlogical -d postgres --slot test --create
+# pg_recvlogical -d postgres --slot test --create-slot
# pg_recvlogical -d postgres --slot test --start -f -
CTRL-Z
# psql -d postgres -c "INSERT INTO data(data) VALUES('4');"
@@ -158,7 +158,7 @@ BEGIN 693
table public.data: INSERT: id[integer]:4 data[text]:'4'
COMMIT 693
CTRL-C
-# pg_recvlogical -d postgres --slot test --drop
+# pg_recvlogical -d postgres --slot test --drop-slot
</programlisting>
</sect1>
<sect1 id="logicaldecoding-explanation">
diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index ce5ad5eed9e..2a521c4f360 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -53,7 +53,7 @@ PostgreSQL documentation
<variablelist>
<varlistentry>
- <term><option>--create</option></term>
+ <term><option>--create-slot</option></term>
<listitem>
<para>
Create a new logical replication slot with the name specified in
@@ -82,7 +82,7 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
- <term><option>--drop</option></term>
+ <term><option>--drop-slot</option></term>
<listitem>
<para>
Drop the replication slot with the name specified
@@ -266,8 +266,9 @@ PostgreSQL documentation
<listitem>
<para>
In <option>--start</option> mode, use the existing logical replication slot named
- <replaceable>slot_name</replaceable>. In <option>--create</option> mode, create the
- slot with this name. In <option>--drop</option> mode, delete the slot with this name.
+ <replaceable>slot_name</replaceable>. In <option>--create-slot</option>
+ mode, create the slot with this name. In <option>--drop-slot</option>
+ mode, delete the slot with this name.
</para>
</listitem>
</varlistentry>