Re: libpq binary transfer of the numeric data type

From: Eliot Simcoe <esimcoe(at)mac(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq binary transfer of the numeric data type
Date: 2004-06-14 19:02:10
Message-ID: 56927E3C-BE35-11D8-9907-000A959CE7FA@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2004-06-14 19:24:41 Re: libpq binary transfer of the numeric data type
Previous Message David Stanaway 2004-06-14 18:57:09 Re: libpq binary transfer of the numeric data type