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

Lines changed: 6 additions & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy