Re: libpq binary transfer of the numeric data type

Поиск
Список
Период
Сортировка
От Eliot Simcoe
Тема Re: libpq binary transfer of the numeric data type
Дата
Msg-id 56927E3C-BE35-11D8-9907-000A959CE7FA@mac.com
обсуждение исходный текст
Ответ на libpq binary transfer of the numeric data type  (Eliot Simcoe <esimcoe@mac.com>)
Ответы Re: libpq binary transfer of the numeric data type
Список pgsql-interfaces
  On Jun 14, 2004, at 2:51 PM, Jeroen T. Vermeulen wrote:

> On Mon, Jun 14, 2004 at 02:25:45PM -0400, Eliot Simcoe wrote:
>
>> Could someone please explain to me what the varlen field is used for?
>> It seems to hold enormous values in my testing, so it couldn't 
>> possibly
>> be the allocated number of bytes or bits... or the number of digits
>
> In case you're on a little-endian platform, have you remembered to 
> convert
> it to network byte order first?
>
>
> Jeroen
>
>

The platform I am developing on is big endian, so this shouldn't be an 
issue as far as I understand.

Eliot Simcoe



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

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: libpq binary transfer of the numeric data type
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: libpq binary transfer of the numeric data type