On Fri, Aug 15, 2014 at 4:59 AM, Robert Haas <robertmh...@gmail.com> wrote: > On Thu, Aug 14, 2014 at 12:59 PM, Fujii Masao <masao.fu...@gmail.com> wrote: >> Since I sometimes try to search the replication command in the index, >> I'd feel inclined to expose all those commands as index terms... > > +1.
Attached patch exposes replication commands as index terms. Barring any objection, I will commit this. Regards, -- Fujii Masao
*** a/doc/src/sgml/protocol.sgml --- b/doc/src/sgml/protocol.sgml *************** *** 1327,1333 **** psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;" The commands accepted in walsender mode are: <variablelist> <varlistentry> ! <term>IDENTIFY_SYSTEM</term> <listitem> <para> Requests the server to identify itself. Server replies with a result --- 1327,1335 ---- The commands accepted in walsender mode are: <variablelist> <varlistentry> ! <term>IDENTIFY_SYSTEM ! <indexterm><primary>IDENTIFY_SYSTEM</primary></indexterm> ! </term> <listitem> <para> Requests the server to identify itself. Server replies with a result *************** *** 1390,1396 **** The commands accepted in walsender mode are: </varlistentry> <varlistentry> ! <term>TIMELINE_HISTORY <replaceable class="parameter">tli</replaceable></term> <listitem> <para> Requests the server to send over the timeline history file for timeline --- 1392,1400 ---- </varlistentry> <varlistentry> ! <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,1412 **** The commands accepted in walsender mode are: </term> <listitem> <para> ! Filename of the timeline history file, e.g 00000002.history. </para> </listitem> </varlistentry> --- 1410,1416 ---- </term> <listitem> <para> ! Filename of the timeline history file, e.g <filename>00000002.history</>. </para> </listitem> </varlistentry> *************** *** 1428,1434 **** 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> <listitem> <para> Create a physical or logical replication --- 1432,1440 ---- </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> <listitem> <para> Create a physical or logical replication *************** *** 1460,1466 **** 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> <listitem> <para> Instructs server to start streaming WAL, starting at --- 1466,1474 ---- </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</>] ! <indexterm><primary>START_REPLICATION</primary></indexterm> ! </term> <listitem> <para> Instructs server to start streaming WAL, starting at *************** *** 1850,1856 **** The commands accepted in walsender mode are: </varlistentry> <varlistentry> ! <term>DROP_REPLICATION_SLOT <replaceable class="parameter">slot_name</></term> <listitem> <para> Drops a replication slot, freeing any reserved server-side resources. If --- 1858,1866 ---- </varlistentry> <varlistentry> ! <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,1876 **** 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> <listitem> <para> Instructs the server to start streaming a base backup. --- 1880,1888 ---- </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>] ! <indexterm><primary>BASE_BACKUP</primary></indexterm> ! </term> <listitem> <para> Instructs the server to start streaming a base backup.
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers