Re: htonl necesssary for PQexecParams input?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: htonl necesssary for PQexecParams input?
Дата
Msg-id 1454.1150997683@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: htonl necesssary for PQexecParams input?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Michael Fuhr <mike@fuhr.org> writes:
> ... the length needs to be in host byte order.

Right.  The only place where a libpq client would be dealing with
network-byte-order data is within binary-format values for data fields
(in SELECT results) or binary-format parameters (when transmitting to
the database).  Metadata like field lengths is just in the local native
representation.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: htonl necesssary for PQexecParams input?
Следующее
От: "Todd A. Cook"
Дата:
Сообщение: Re: Out of memory error in 8.1.0 Win32