Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id ABD9964FD2F for ; Tue, 29 Jul 2008 14:10:03 -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 66145-05 for ; Tue, 29 Jul 2008 14:09:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 847B464FD0A for ; Tue, 29 Jul 2008 14:09:58 -0300 (ADT) Received: (qmail 3832 invoked by uid 1112); 29 Jul 2008 17:09:56 -0000 Date: Tue, 29 Jul 2008 13:09:56 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Peter cc: pgsql-jdbc@postgresql.org Subject: Re: numeric type In-Reply-To: <001d01c8f14d$cdd715a0$698540e0$@com> Message-ID: References: <005b01c8ea53$f64a9fd0$e2dfdf70$@com> <001d01c8f14d$cdd715a0$698540e0$@com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/63 X-Sequence-Number: 18848 On Tue, 29 Jul 2008, Peter wrote: > OK, I hear ya. How about allowing user to set the default precision and > scale values for "numeric" type? Not sure how this would be done in JDBC > world but should be doable. You could add URL parameters like unspecifiedNumericPrecision=1000 and unspecificedNumericScale=500, but the tradeoff is how much work is it to add these options to the URL parsing code and then pass them around, add it to the datasource implementation, add it to the documentation, and ... If there was some big important app that everyone wanted to use that blew up on this I'd bet we'd do it, but I haven't heard a whole lot of complaints about this problem. Is this an important issue for other people? Kris Jurka