Re: [HACKERS] Documentation fix for pg_recvlogical's --create mode

2014-09-29 Thread Andres Freund
On 2014-09-22 15:46:14 +0900, Michael Paquier wrote:
 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.

Committed. Thanks. And thannks Robert for the reminder, I'd indeed have
missed this...

Greetings,

Andres Freund

-- 
 Andres Freund http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training  Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Documentation fix for pg_recvlogical's --create mode

2014-09-22 Thread Michael Paquier
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