From: Steven Schlansker <stevenschlansker@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Timo Nentwig <postgres@nentwig.biz>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: float8 transmitted in ascii
Date: Thu, 30 Apr 2015 10:05:25 -0700
Message-ID: <0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com> (raw)
In-Reply-To: <36333.1430411802@sss.pgh.pa.us>
References: <alpine.LNX.2.03.1504291738060.41809@nentwig.biz>
<CADK3HHJFnXUiU+gWAfGvVCe2Xu6sN_QNZdxjKaFAVGGzoxMWXQ@mail.gmail.com>
<35729.1430351992@sss.pgh.pa.us>
<alpine.LNX.2.03.1504301732560.63487@nentwig.biz>
<CADK3HHLEZiB87NG_st-hcNfVd6qu7bCTMRQAt89Xu1S6AVt_QQ@mail.gmail.com>
<36333.1430411802@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: stevenschlansker@gmail.com, tgl@sss.pgh.pa.us, pg@fastcrypt.com, postgres@nentwig.biz
Subject: Re: float8 transmitted in ascii
In-Reply-To: <0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com>
References: <alpine.LNX.2.03.1504291738060.41809@nentwig.biz> <CADK3HHJFnXUiU+gWAfGvVCe2Xu6sN_QNZdxjKaFAVGGzoxMWXQ@mail.gmail.com> <35729.1430351992@sss.pgh.pa.us> <alpine.LNX.2.03.1504301732560.63487@nentwig.biz> <CADK3HHLEZiB87NG_st-hcNfVd6qu7bCTMRQAt89Xu1S6AVt_QQ@mail.gmail.com> <36333.1430411802@sss.pgh.pa.us> <0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox