Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 27A3565049F for ; Thu, 17 Jul 2008 08:23:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 22743-01 for ; Thu, 17 Jul 2008 08:23:42 -0300 (ADT) X-Greylist: delayed 00:07:14.454051 by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by postgresql.org (Postfix) with ESMTP id BA71C65049E for ; Thu, 17 Jul 2008 08:23:46 -0300 (ADT) Received: by qw-out-2122.google.com with SMTP id 8so440234qwh.61 for ; Thu, 17 Jul 2008 04:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=waHNypPUCSWhIizoayWb8DdgUPBWEyicON7fG01XKNo=; b=Gq3mIsgfhI3tW/yxiDmCnKI0Qr+Z5W0eZtg+RDNhj6or3VZoMydy/isNupdjiKG5tr nzdRt8KeG83IM0U0cS0EPb70/IeAo9EslcPragxbbyT1wHR2aCIL0pABSE2LEpE4g7MT Q3+hF3if+eNes8N5pIFh11nTuHgMQGw7USS/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=cxDD1vQxkEJThX/7Ta6T0+8j+dgn1qkqORdVDuaqsLeNK0wVT3S65UOY+DIsjSJNtg 5om16fJypHsyAFpwOIDGwuq1pAfG2fIL27K38J0jHaW9YolwPNkiv199OP836BDMSv35 pBw2lOMaZhimjcRkRhRI7Wq5aq65aVwJvnts4= Received: by 10.142.180.19 with SMTP id c19mr541236wff.322.1216293390304; Thu, 17 Jul 2008 04:16:30 -0700 (PDT) Received: by 10.142.217.1 with HTTP; Thu, 17 Jul 2008 04:16:30 -0700 (PDT) Message-ID: <3713c3aa0807170416m505e2343rfc3e927efc6b0a90@mail.gmail.com> Date: Thu, 17 Jul 2008 14:16:30 +0300 From: "Johan Miller" To: "Kris Jurka" Subject: Re: Problem with java infinity mapping to postgres real column type Cc: "Tom Lane" , pgsql-jdbc@postgresql.org In-Reply-To: <487ED732.8070102@ejurka.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18984_29414600.1216293390302" References: <3713c3aa0807142254p72e8416dsd8c18a5ebf101212@mail.gmail.com> <7489.1216217283@sss.pgh.pa.us> <13936.1216271734@sss.pgh.pa.us> <487ED732.8070102@ejurka.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200807/44 X-Sequence-Number: 18829 ------=_Part_18984_29414600.1216293390302 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jul 17, 2008 at 08:22, Kris Jurka wrote: > I get the error (or variant) for 7.4 -> 8.2 on Debian Linux. 8.3 and HEAD > work. > > I see this in the 8.3 release notes: > > Fix float4/float8 to handle Infinity and NAN (Not A Number) consistently > (Bruce) The code formerly was not consistent about distinguishing Infinity > from overflow conditions. So this is more of a database problem than a jdbc driver problem? We are using variants of 8.1 and 8.2 in production. What would be the options to handle this on earlier version where it is not fixed? Would it be a possibility that this will get changed in the 8.1 and 8.2 versions also? -- Johan Miller ------=_Part_18984_29414600.1216293390302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
On Thu, Jul 17, 2008 at 08:22, Kris Jurka <jurka@ejurka.com> wrote:
I get the error (or variant) for 7.4 -> 8.2 on Debian Linux.  8.3 and HEAD work.

I see this in the 8.3 release notes:

Fix float4/float8 to handle Infinity and NAN (Not A Number) consistently (Bruce)  The code formerly was not consistent about distinguishing Infinity from overflow conditions.

So this is more of a database problem than a jdbc driver problem? We are using variants of 8.1 and 8.2 in production.
What would be the options to handle this on earlier version where it is not fixed? Would it be a possibility that this will get changed in the 8.1 and 8.2 versions also?

--
Johan Miller
------=_Part_18984_29414600.1216293390302--