1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Fujii Masao
2014-03-24 19:47:35 +09:00
parent e4a7c03feb
commit 08ca107425

View File

@ -1400,12 +1400,14 @@ The commands accepted in walsender mode are:
</varlistentry> </varlistentry>
<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> <listitem>
<para> <para>
Instructs server to start streaming WAL, starting at Instructs server to start streaming WAL, starting at
WAL position <replaceable class="parameter">XXX/XXX</> on timeline WAL position <replaceable class="parameter">XXX/XXX</>.
<replaceable class="parameter">tli</>. 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 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 has already been recycled. On success, server responds with a
CopyBothResponse message, and then starts to stream WAL to the frontend. CopyBothResponse message, and then starts to stream WAL to the frontend.