aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-05-08 14:35:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-05-08 14:35:24 +0000
commit4e08d35e7d41b5775c8509973596f01ac2c3f664 (patch)
tree50773e5ac5e14da283fa5ef8ec54fce5fb8af4f0
parent1718f4c66cf09607e357ee4769fdc65201dcade0 (diff)
downloadpostgresql-4e08d35e7d41b5775c8509973596f01ac2c3f664.tar.gz
postgresql-4e08d35e7d41b5775c8509973596f01ac2c3f664.zip
Fix documentation problem pointed out by Barry Lind: code expected a
terminating zero byte in StartupMessage, docs didn't mention it.
-rw-r--r--doc/src/sgml/protocol.sgml10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 0d288257cc8..2d5b5d8c222 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.37 2003/05/07 21:46:15 tgl Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.38 2003/05/08 14:35:24 tgl Exp $ -->
<chapter id="protocol">
<title>Frontend/Backend Protocol</title>
@@ -2556,7 +2556,7 @@ ErrorResponse (B)
</VarListEntry>
</VariableList>
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:
<VariableList>
<VarListEntry>
@@ -2934,7 +2934,7 @@ NoticeResponse (B)
</VarListEntry>
</VariableList>
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:
<VariableList>
<VarListEntry>
@@ -3640,7 +3640,9 @@ StartupMessage (F)
</VarListEntry>
</VariableList>
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. <literal>user</> is required, others are optional.
Each parameter is specified as:
<VariableList>