Hi all,

In the documentation of pg_recvlogical here
(http://www.postgresql.org/docs/devel/static/app-pgrecvlogical.html),
there is the following sentence:
"Create a new logical replication slot with the name specified in
--slot, using the output plugin --plugin, then exit."
Actually that's not completely true, we can create a replication slot
and then start streaming by combining --start and --create. Process
will only exit if --start is not used. Patch is attached.
Regards,
-- 
Michael
diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index ce5ad5e..76240fe 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -58,8 +58,8 @@ PostgreSQL documentation
        <para>
         Create a new logical replication slot with the name specified in
         <option>--slot</option>, using the output plugin
-        <option>--plugin</option>, then exit. The slot is created for the
-        database given in <option>--dbname</option>.
+        <option>--plugin</option>. The slot is created for the database
+        given in <option>--dbname</option>.
        </para>
       </listitem>
      </varlistentry>
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to