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

Поиск
Список
Период
Сортировка
От
Тема BUG: Protocol 3.0: that's just odd, needing to add the number of bytes the length field occupies
Дата
Msg-id 004c01c89fb2$f7396cf0$1200a8c0@kharkov.localhost
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: domains missing some default castings
Следующее
От: "Fujii Masao"
Дата:
Сообщение: BUG #4109: Typo in documentation