Re: [HACKERS] replication commands and index terms

2014-08-17 Thread Fujii Masao
On Fri, Aug 15, 2014 at 11:25 AM, Fujii Masao masao.fu...@gmail.com wrote:
 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.

Done.

Regards,

-- 
Fujii Masao


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] replication commands and index terms

2014-08-14 Thread Robert Haas
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.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] replication commands and index terms

2014-08-14 Thread Fujii Masao
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
! termIDENTIFY_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
! termIDENTIFY_SYSTEM
!  indextermprimaryIDENTIFY_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
! termTIMELINE_HISTORY replaceable class=parametertli/replaceable/term
  listitem
   para
Requests the server to send over the timeline history file for timeline
--- 1392,1400 
/varlistentry
  
varlistentry
! termTIMELINE_HISTORY replaceable class=parametertli/replaceable
!  indextermprimaryTIMELINE_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 0002.history.
/para
/listitem
/varlistentry
--- 1410,1416 
/term
listitem
para
!Filename of the timeline history file, e.g filename0002.history/.
/para
/listitem
/varlistentry
***
*** 1428,1434  The commands accepted in walsender mode are:
/varlistentry
  
varlistentry
! termCREATE_REPLICATION_SLOT replaceable class=parameterslot_name/ { literalPHYSICAL/ | literalLOGICAL/ replaceable class=parameteroutput_plugin/ } indextermprimaryCREATE_REPLICATION_SLOT/primary/indexterm/term
  listitem
   para
Create a physical or logical replication
--- 1432,1440 
/varlistentry
  
varlistentry
! termCREATE_REPLICATION_SLOT replaceable class=parameterslot_name/ { literalPHYSICAL/ | literalLOGICAL/ replaceable class=parameteroutput_plugin/ }
!  indextermprimaryCREATE_REPLICATION_SLOT/primary/indexterm
! /term
  listitem
   para
Create a physical or logical replication
***
*** 1460,1466  The commands accepted in walsender mode are:
/varlistentry
  
varlistentry
! termSTART_REPLICATION [literalSLOT/literal replaceable class=parameterslot_name/] [literalPHYSICAL/literal] replaceable class=parameterXXX/XXX/ [literalTIMELINE/literal replaceable class=parametertli/]/term
  listitem
   para
Instructs server to start streaming WAL, starting at
--- 1466,1474 
/varlistentry
  
varlistentry
! termSTART_REPLICATION [literalSLOT/literal replaceable class=parameterslot_name/] [literalPHYSICAL/literal] replaceable class=parameterXXX/XXX/ [literalTIMELINE/literal replaceable class=parametertli/]
!  indextermprimarySTART_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
! termDROP_REPLICATION_SLOT replaceable class=parameterslot_name//term
  listitem
   para
Drops a replication slot, freeing any reserved server-side resources. If
--- 1858,1866 
/varlistentry
  
varlistentry
! termDROP_REPLICATION_SLOT replaceable class=parameterslot_name/
!  indextermprimaryDROP_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
! termBASE_BACKUP [literalLABEL/literal replaceable'label'/replaceable] [literalPROGRESS/literal] [literalFAST/literal] [literalWAL/literal] [literalNOWAIT/literal] [literalMAX_RATE/literal replaceablerate/replaceable]/term
  listitem
   para
Instructs the server to start streaming a base backup.
--- 1880,1888 
/varlistentry
  
varlistentry
! termBASE_BACKUP [literalLABEL/literal replaceable'label'/replaceable] [literalPROGRESS/literal] [literalFAST/literal]