Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group