diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-03-24 19:47:35 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-03-24 19:47:35 +0900 |
commit | 08ca107425cb21b8f6b029c4919479dc04241a7d (patch) | |
tree | 07e099308d095a638138b4604351b59e6f750440 | |
parent | e4a7c03febe94b0469641b469b29aef2a21ad12c (diff) | |
download | postgresql-08ca107425cb21b8f6b029c4919479dc04241a7d.tar.gz postgresql-08ca107425cb21b8f6b029c4919479dc04241a7d.zip |
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
-rw-r--r-- | doc/src/sgml/protocol.sgml | 8 |
1 files changed, 5 insertions, 3 deletions
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: </varlistentry> <varlistentry> - <term>START_REPLICATION <replaceable class="parameter">XXX/XXX</> TIMELINE <replaceable class="parameter">tli</></term> + <term>START_REPLICATION <replaceable class="parameter">XXX/XXX</> [<literal>TIMELINE</literal> <replaceable class="parameter">tli</>]</term> <listitem> <para> Instructs server to start streaming WAL, starting at - WAL position <replaceable class="parameter">XXX/XXX</> on timeline - <replaceable class="parameter">tli</>. + WAL position <replaceable class="parameter">XXX/XXX</>. + If <literal>TIMELINE</literal> option is specified, + streaming starts on timeline <replaceable class="parameter">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. |