Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 08ca107

Browse files
committed
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
1 parent e4a7c03 commit 08ca107

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/protocol.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,12 +1400,14 @@ The commands accepted in walsender mode are:
14001400
</varlistentry>
14011401

14021402
<varlistentry>
1403-
<term>START_REPLICATION <replaceable class="parameter">XXX/XXX</> TIMELINE <replaceable class="parameter">tli</></term>
1403+
<term>START_REPLICATION <replaceable class="parameter">XXX/XXX</> [<literal>TIMELINE</literal> <replaceable class="parameter">tli</>]</term>
14041404
<listitem>
14051405
<para>
14061406
Instructs server to start streaming WAL, starting at
1407-
WAL position <replaceable class="parameter">XXX/XXX</> on timeline
1408-
<replaceable class="parameter">tli</>.
1407+
WAL position <replaceable class="parameter">XXX/XXX</>.
1408+
If <literal>TIMELINE</literal> option is specified,
1409+
streaming starts on timeline <replaceable class="parameter">tli</>;
1410+
otherwise, the server's current timeline is selected.
14091411
The server can reply with an error, e.g. if the requested section of WAL
14101412
has already been recycled. On success, server responds with a
14111413
CopyBothResponse message, and then starts to stream WAL to the frontend.

0 commit comments

Comments
 (0)