Re: float8 transmitted in ascii - Mailing list pgsql-jdbc

From Steven Schlansker
Subject Re: float8 transmitted in ascii
Date
Msg-id 0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com
Whole thread Raw
In response to Re: float8 transmitted in ascii  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
On Apr 30, 2015, at 9:36 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Dave Cramer <pg@fastcrypt.com> writes:
>> I'm not convinced it is being transmitted in ASCII. It should not be
>
> Transmission in binary would require an assumption that the server and
> client share identical floating-point representations, which sure sounds
> like a leap of faith from here (or at least blind Intel-centricism).

Why not just specify the binary format as IEEE 754?  Native to many machines,
and probably cheaper to convert than ASCII anyway if it's not native.



pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: float8 transmitted in ascii
Next
From: Jeremy Whiting
Date:
Subject: Resource lookup timeout causes Travis IC to fail test.