BUG: Protocol 3.0: that's just odd, needing to add the number of bytes the length field occupies - Mailing list pgsql-bugs

From
Subject BUG: Protocol 3.0: that's just odd, needing to add the number of bytes the length field occupies
Date
Msg-id 004c01c89fb2$f7396cf0$1200a8c0@kharkov.localhost
Whole thread Raw
Responses Re: BUG: Protocol 3.0: that's just odd, needing to add the number of bytes the length field occupies  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG: Protocol 3.0: that's just odd, needing to add the number of bytes the length field occupies  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
server side: writeInt32(  length($message)+4 ); writeString( $message );
client side: $length=3D readInt32(); readString( $length -4 )

that's just odd, needing to add the number of bytes the length field occupi=
es

This is simpler:
server side: writeInt32(  length($message)); writeString( $message );
client side: $length=3D readInt32(); readString( $length )

Will you plan to correct that in Protocol 3.1?=

pgsql-bugs by date:

Previous
From: "Pavel Stehule"
Date:
Subject: domains missing some default castings
Next
From: "Fujii Masao"
Date:
Subject: BUG #4109: Typo in documentation