]> granicus.if.org Git - postgresql/commitdiff
Add missing index terms for replication commands in the document.
authorFujii Masao <fujii@postgresql.org>
Mon, 18 Aug 2014 02:18:53 +0000 (11:18 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 18 Aug 2014 02:20:15 +0000 (11:20 +0900)
Previously only CREATE_REPLICATION_SLOT was exposed as an index term.
That's odd and there is no reason not to add index terms for other
replication commands.

Back-patch to 9.4.

doc/src/sgml/protocol.sgml

index cda546a3b0ed7981b4b428199b2ebbe276628e35..e519ff96b90a4bee5c1476df2af46917bfeaa8d7 100644 (file)
@@ -1327,7 +1327,9 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
 The commands accepted in walsender mode are:
 <variablelist>
   <varlistentry>
-    <term>IDENTIFY_SYSTEM</term>
+    <term>IDENTIFY_SYSTEM
+     <indexterm><primary>IDENTIFY_SYSTEM</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Requests the server to identify itself. Server replies with a result
@@ -1390,7 +1392,9 @@ The commands accepted in walsender mode are:
   </varlistentry>
 
   <varlistentry>
-    <term>TIMELINE_HISTORY <replaceable class="parameter">tli</replaceable></term>
+    <term>TIMELINE_HISTORY <replaceable class="parameter">tli</replaceable>
+     <indexterm><primary>TIMELINE_HISTORY</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Requests the server to send over the timeline history file for timeline
@@ -1406,7 +1410,7 @@ The commands accepted in walsender mode are:
       </term>
       <listitem>
       <para>
-       Filename of the timeline history file, e.g 00000002.history.
+       Filename of the timeline history file, e.g <filename>00000002.history</>.
       </para>
       </listitem>
       </varlistentry>
@@ -1428,7 +1432,9 @@ The commands accepted in walsender mode are:
   </varlistentry>
 
   <varlistentry>
-    <term>CREATE_REPLICATION_SLOT <replaceable class="parameter">slot_name</> { <literal>PHYSICAL</> | <literal>LOGICAL</> <replaceable class="parameter">output_plugin</> } <indexterm><primary>CREATE_REPLICATION_SLOT</primary></indexterm></term>
+    <term>CREATE_REPLICATION_SLOT <replaceable class="parameter">slot_name</> { <literal>PHYSICAL</> | <literal>LOGICAL</> <replaceable class="parameter">output_plugin</> }
+     <indexterm><primary>CREATE_REPLICATION_SLOT</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Create a physical or logical replication
@@ -1460,7 +1466,9 @@ The commands accepted in walsender mode are:
   </varlistentry>
 
   <varlistentry>
-    <term>START_REPLICATION [<literal>SLOT</literal> <replaceable class="parameter">slot_name</>] [<literal>PHYSICAL</literal>] <replaceable class="parameter">XXX/XXX</> [<literal>TIMELINE</literal> <replaceable class="parameter">tli</>]</term>
+    <term>START_REPLICATION [<literal>SLOT</literal> <replaceable class="parameter">slot_name</>] [<literal>PHYSICAL</literal>] <replaceable class="parameter">XXX/XXX</> [<literal>TIMELINE</literal> <replaceable class="parameter">tli</>]
+     <indexterm><primary>START_REPLICATION</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Instructs server to start streaming WAL, starting at
@@ -1850,7 +1858,9 @@ The commands accepted in walsender mode are:
   </varlistentry>
 
   <varlistentry>
-    <term>DROP_REPLICATION_SLOT <replaceable class="parameter">slot_name</></term>
+    <term>DROP_REPLICATION_SLOT <replaceable class="parameter">slot_name</>
+     <indexterm><primary>DROP_REPLICATION_SLOT</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Drops a replication slot, freeing any reserved server-side resources. If
@@ -1870,7 +1880,9 @@ The commands accepted in walsender mode are:
   </varlistentry>
 
   <varlistentry>
-    <term>BASE_BACKUP [<literal>LABEL</literal> <replaceable>'label'</replaceable>] [<literal>PROGRESS</literal>] [<literal>FAST</literal>] [<literal>WAL</literal>] [<literal>NOWAIT</literal>] [<literal>MAX_RATE</literal> <replaceable>rate</replaceable>]</term>
+    <term>BASE_BACKUP [<literal>LABEL</literal> <replaceable>'label'</replaceable>] [<literal>PROGRESS</literal>] [<literal>FAST</literal>] [<literal>WAL</literal>] [<literal>NOWAIT</literal>] [<literal>MAX_RATE</literal> <replaceable>rate</replaceable>]
+     <indexterm><primary>BASE_BACKUP</primary></indexterm>
+    </term>
     <listitem>
      <para>
       Instructs the server to start streaming a base backup.