Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ynrtz-00069D-TE for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Apr 2015 17:05:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ynrtz-00037S-Dm for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Apr 2015 17:05:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Ynrty-00037K-OK for pgsql-jdbc@postgresql.org; Thu, 30 Apr 2015 17:05:30 +0000 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Ynrtw-0003Mw-55 for pgsql-jdbc@postgresql.org; Thu, 30 Apr 2015 17:05:29 +0000 Received: by pdea3 with SMTP id a3so66392972pde.3 for ; Thu, 30 Apr 2015 10:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=azUj9aHvaUudpdk8w4nMVKdtLzTMzXKbrtNI4kTjVXI=; b=a7EMh3V10NaS/JLzk0P5+eyeAaw0V29fwrt6lQPA6+4aLU8rdXqMGlX5Ih2dv0TCfT IpDLAikM/6XZRVZWJtX8K8sWQfWeCmUQnks9kClsgpvaHPAsUq+aVoiAtHRiv/lQUB2J 1/7/fueDdLflP/o8b5sm5rjNEeHFbF7MuMkawpK+JhxVfM0z3da2LEJ4ByHoc99gh4I5 brEqdJzf48xlsxikeWNC54xlU907uAegV8FdFLR8g9xs3uFSDtTPHCz/XF9D9+Ko8LLo /xNYTPLn9sinUnDgGNt1TyCwuxayINO+NSB39xyqP1HXQhUPtkcGDY4DUCz0p8Tg5u8z dN3A== X-Received: by 10.66.181.136 with SMTP id dw8mr10167846pac.90.1430413527243; Thu, 30 Apr 2015 10:05:27 -0700 (PDT) Received: from [10.10.21.130] (otra.opentable.com. [199.16.144.7]) by mx.google.com with ESMTPSA id l14sm2702258pdm.16.2015.04.30.10.05.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Apr 2015 10:05:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: float8 transmitted in ascii From: Steven Schlansker In-Reply-To: <36333.1430411802@sss.pgh.pa.us> Date: Thu, 30 Apr 2015 10:05:25 -0700 Cc: Dave Cramer , Timo Nentwig , List Content-Transfer-Encoding: 7bit Message-Id: <0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com> References: <35729.1430351992@sss.pgh.pa.us> <36333.1430411802@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.1878.6) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Apr 30, 2015, at 9:36 AM, Tom Lane wrote: > Dave Cramer 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