Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4F2272E022D for ; Fri, 29 Feb 2008 13:57:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 80204-02-3 for ; Fri, 29 Feb 2008 13:57:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 786FA2E0190 for ; Fri, 29 Feb 2008 13:57:12 -0400 (AST) Received: (qmail 21944 invoked by uid 1112); 29 Feb 2008 17:57:11 -0000 Date: Fri, 29 Feb 2008 12:57:11 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Daniel Migowski cc: pgsql-jdbc@postgresql.org Subject: Re: Bug while retrieving money data type from db In-Reply-To: <47C842B5.6000807@ikoffice.de> Message-ID: References: <47C415C7.6070200@openplans.org> <47C842B5.6000807@ikoffice.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/207 X-Sequence-Number: 18414 On Fri, 29 Feb 2008, Daniel Migowski wrote: > Kris Jurka schrieb: >> That will break existing applications that want to be able to do getDouble >> on money data, but I'm OK with that because they should be pretty rare. > > If you are on breaking existing applications anyway, please reconsider my > patch given in the Thread with the name "[JDBC] TypeInfoCache" :)) > I still don't like your patch, but I am planning on implementing the solution that Oliver and I liked better (making up a bogus precision for types without lengths). http://pgfoundry.org/tracker/index.php?func=detail&aid=1010277&group_id=1000224&atid=854 Kris Jurka