pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: o.bouiron@isc84.org
To: h.henoch@isc84.org
Cc: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: [Jdbc-commits] JDBC and real values returned by Postgres
Date: Wed, 28 Apr 2010 12:04:00 +1200
Message-ID: <4BD77B70.40603@opencloud.com> (raw)
In-Reply-To: <4BD69D2D.3030508@isc84.org>
References: <4BD69D2D.3030508@isc84.org>

Olivier Bouiron wrote:

> Under the psql editor, when I want the sum of these 3 rows, the answer 
> is 5.4.
> But, under Java using the JDBC connector, the answer is 5.399999
> 
> I tried to use an other connector (postgresql-8.2-510.jdbc4) and the 
> problem disapears.

I'd guess that it is due to newer drivers setting extra_float_digits. 
See http://archives.postgresql.org/pgsql-jdbc/2009-05/msg00077.php

-O



view thread (2+ messages)  latest in thread

Message-ID: <4BD77B70.40603@opencloud.com>
Permalink:  ../4BD77B70.40603@opencloud.com/
Also on:    postgresql.org/message-id/4BD77B70.40603@opencloud.com

 · 

reply

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: oliver@opencloud.com, o.bouiron@isc84.org, h.henoch@isc84.org
  Subject: Re: [Jdbc-commits] JDBC and real values returned by Postgres
  In-Reply-To: <4BD77B70.40603@opencloud.com>
  References: <4BD69D2D.3030508@isc84.org> <4BD77B70.40603@opencloud.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