Re: What is the format of 'binary' data in the postgresql client/server protocol version 3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is the format of 'binary' data in the postgresql client/server protocol version 3
Дата
Msg-id 27126.1106610841@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What is the format of 'binary' data in the postgresql client/server protocol version 3  (Eric Merritt <cyberlync@gmail.com>)
Ответы Re: What is the format of 'binary' data in the postgresql client/server protocol version 3  (Eric Merritt <cyberlync@gmail.com>)
Список pgsql-general
Eric Merritt <cyberlync@gmail.com> writes:
>  I am in the middle of implementing postgresql's client server
> protocol and I have run into a little issue. The spec says that in
> general data can be of two types, 'text' and 'binary'. The text one is
> generally pretty simple to figure out. However, there doesn't seem to
> be any area of the docs that details format for 'binary' data.

Generally you have to look at the send/recv routines for the specific
data type that you are wondering about.  Sooner or later the comments on
those routines should be transposed into the SGML documentation, but it
hasn't happened yet.

(There's still a strong streak of "use the source, Luke" in this
community, if you hadn't noticed...)

            regards, tom lane

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Recursive queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PGresult pointer and memory usage