Re: Implementing Frontend/Backend Protocol TCP/IP

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Implementing Frontend/Backend Protocol TCP/IP
Дата
Msg-id 20091027134158.GB4876@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Implementing Frontend/Backend Protocol TCP/IP  (Raimon Fernandez <coder@montx.com>)
Ответы Re: Implementing Frontend/Backend Protocol TCP/IP
Список pgsql-general
Raimon Fernandez wrote:

> After the S I found thre char(0) and later the size of the packet,
> and later the name + char(0) (separator between value and
> parameter), the parameter, and so on.
>
> Why I found those three char(0) after the S and before the packet
> length?

Because the length is an int32.  There are 3 zeros because the packet
length is less than 256.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-general по дате отправления:

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: Re: Implementing Frontend/Backend Protocol TCP/IP
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Implementing Frontend/Backend Protocol TCP/IP