pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Trevor Baker <amoebaworks@yahoo.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: why setFloat() changed to Oid.FLOAT8?
Date: Fri, 3 Feb 2006 14:18:47 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0602031417100.9876@leary.csoft.net> (raw)
In-Reply-To: <20060203185624.76203.qmail@web54406.mail.yahoo.com>
References: <20060203185624.76203.qmail@web54406.mail.yahoo.com>



On Fri, 3 Feb 2006, Trevor Baker wrote:

> I'm thinking of upgrading from 8.0 to 8.1, but I'm
> wondering why the change in
> AbstractJdbc2Statement.setFloat() (and elsewhere in
> the class) of floats now being Oid.FLOAT8 instead of
> Ois.FLOAT4?

This change was made to pass Sun's JDBC test suite.  Their test suite 
requires the full precision of Float.MAX_VALUE to Float.MIN_VALUE to be 
support for setFloat which requires pg's double type on the server side.

Kris Jurka



view thread (2+ messages)

Message-ID: <Pine.BSO.4.61.0602031417100.9876@leary.csoft.net>
Permalink:  ../Pine.BSO.4.61.0602031417100.9876@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.61.0602031417100.9876@leary.csoft.net

 · 

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: books@ejurka.com, amoebaworks@yahoo.ca
  Subject: Re: why setFloat() changed to Oid.FLOAT8?
  In-Reply-To: <Pine.BSO.4.61.0602031417100.9876@leary.csoft.net>
  References: <20060203185624.76203.qmail@web54406.mail.yahoo.com> <Pine.BSO.4.61.0602031417100.9876@leary.csoft.net>

* 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