Fix documentation problem pointed out by Barry Lind: code expected a
authorTom Lane
Thu, 8 May 2003 14:35:24 +0000 (14:35 +0000)
committerTom Lane
Thu, 8 May 2003 14:35:24 +0000 (14:35 +0000)
terminating zero byte in StartupMessage, docs didn't mention it.

doc/src/sgml/protocol.sgml

index 0d288257cc8e76fa7ccda4a9d981982a435c3199..2d5b5d8c22255b5fbdae220fb1d3ff7a2645a9ce 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Frontend/Backend Protocol
@@ -2556,7 +2556,7 @@ ErrorResponse (B)
 
 
         The message body consists of one or more identified fields,
-   followed by a zero-byte terminator.  Fields may appear in
+   followed by a zero byte as a terminator.  Fields may appear in
    any order.  For each field there is the following:
 
 
@@ -2934,7 +2934,7 @@ NoticeResponse (B)
 
 
         The message body consists of one or more identified fields,
-   followed by a zero-byte terminator.  Fields may appear in
+   followed by a zero byte as a terminator.  Fields may appear in
    any order.  For each field there is the following:
 
 
@@ -3640,7 +3640,9 @@ StartupMessage (F)
 
 
         The protocol version number is followed by one or more pairs of
-   parameter name and value strings.  Parameters can appear in any
+   parameter name and value strings.  A zero byte is required as a
+   terminator after the last name/value pair.
+   Parameters can appear in any
    order.  user is required, others are optional.
    Each parameter is specified as: