Re: libpq binary transfer of the numeric data type - Mailing list pgsql-interfaces

From Eliot Simcoe
Subject Re: libpq binary transfer of the numeric data type
Date
Msg-id 56927E3C-BE35-11D8-9907-000A959CE7FA@mac.com
Whole thread Raw
In response to libpq binary transfer of the numeric data type  (Eliot Simcoe <esimcoe@mac.com>)
Responses Re: libpq binary transfer of the numeric data type
List 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 by date:

Previous
From: David Stanaway
Date:
Subject: Re: libpq binary transfer of the numeric data type
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: libpq binary transfer of the numeric data type