From: Fujii Masao Date: Mon, 24 Mar 2014 10:47:35 +0000 (+0900) Subject: Fix START_REPLICATION syntax in document. X-Git-Tag: REL9_3_5~140 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=08ca107425cb21b8f6b029c4919479dc04241a7d;p=postgresql.git Fix START_REPLICATION syntax in document. Enclose "TIMELINE tli" part with brackets because it's optional. Backport to 9.3 where TIMELINE option was introduced. Noted by Marko Tiikkaja --- diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 0b2e60eeb13..1457ae84523 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1400,12 +1400,14 @@ The commands accepted in walsender mode are: - START_REPLICATION XXX/XXX TIMELINE tli + START_REPLICATION XXX/XXX [TIMELINE tli] Instructs server to start streaming WAL, starting at - WAL position XXX/XXX on timeline - tli. + WAL position XXX/XXX. + If TIMELINE option is specified, + streaming starts on timeline tli; + otherwise, the server's current timeline is selected. The server can reply with an error, e.g. if the requested section of WAL has already been recycled. On success, server responds with a CopyBothResponse message, and then starts to stream WAL to the frontend.