Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4e08d35

Browse files
committed
Fix documentation problem pointed out by Barry Lind: code expected a
terminating zero byte in StartupMessage, docs didn't mention it.
1 parent 1718f4c commit 4e08d35

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/src/sgml/protocol.sgml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.37 2003/05/07 21:46:15 tgl Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/protocol.sgml,v 1.38 2003/05/08 14:35:24 tgl Exp $ -->
22

33
<chapter id="protocol">
44
<title>Frontend/Backend Protocol</title>
@@ -2556,7 +2556,7 @@ ErrorResponse (B)
25562556
</VarListEntry>
25572557
</VariableList>
25582558
The message body consists of one or more identified fields,
2559-
followed by a zero-byte terminator. Fields may appear in
2559+
followed by a zero byte as a terminator. Fields may appear in
25602560
any order. For each field there is the following:
25612561
<VariableList>
25622562
<VarListEntry>
@@ -2934,7 +2934,7 @@ NoticeResponse (B)
29342934
</VarListEntry>
29352935
</VariableList>
29362936
The message body consists of one or more identified fields,
2937-
followed by a zero-byte terminator. Fields may appear in
2937+
followed by a zero byte as a terminator. Fields may appear in
29382938
any order. For each field there is the following:
29392939
<VariableList>
29402940
<VarListEntry>
@@ -3640,7 +3640,9 @@ StartupMessage (F)
36403640
</VarListEntry>
36413641
</VariableList>
36423642
The protocol version number is followed by one or more pairs of
3643-
parameter name and value strings. Parameters can appear in any
3643+
parameter name and value strings. A zero byte is required as a
3644+
terminator after the last name/value pair.
3645+
Parameters can appear in any
36443646
order. <literal>user</> is required, others are optional.
36453647
Each parameter is specified as:
36463648
<VariableList>

0 commit comments

Comments
 (0)