OSDN Git Service

Change the document to recent introduction of CopyXLogResponse.
authorMasaoFujii <masao.fujii@gmail.com>
Wed, 29 Sep 2010 06:20:09 +0000 (15:20 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Thu, 7 Oct 2010 11:01:35 +0000 (20:01 +0900)
doc/src/sgml/protocol.sgml

index dc165f7..4ad3843 100644 (file)
@@ -1344,7 +1344,7 @@ The commands accepted in walsender mode are:
       WAL position <replaceable>XXX</>/<replaceable>XXX</>.
       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
-      CopyOutResponse message, and then starts to stream WAL to the frontend.
+      CopyXLogResponse message, and then starts to stream WAL to the frontend.
       WAL will continue to be streamed until the connection is broken;
       no further commands will be accepted.
      </para>
@@ -2696,6 +2696,42 @@ CopyOutResponse (B)
 
 <varlistentry>
 <term>
+CopyXLogResponse (B)
+</term>
+<listitem>
+<para>
+
+<variablelist>
+<varlistentry>
+<term>
+        Byte1('W')
+</term>
+<listitem>
+<para>
+                Identifies the message as a Start Copy XLog response.
+                This message is used only for Streaming Replication.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>
+        Int32
+</term>
+<listitem>
+<para>
+                Length of message contents in bytes, including self.
+</para>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</para>
+</listitem>
+</varlistentry>
+
+
+<varlistentry>
+<term>
 DataRow (B)
 </term>
 <listitem>