From: Kris Jurka <books@ejurka.com>
To: Peter <peter@greatnowhere.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: numeric type
Date: Tue, 29 Jul 2008 13:09:56 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0807291305500.32353@leary.csoft.net> (raw)
In-Reply-To: <001d01c8f14d$cdd715a0$698540e0$@com>
References: <005b01c8ea53$f64a9fd0$e2dfdf70$@com>
<Pine.BSO.4.64.0807290011180.2814@leary.csoft.net>
<001d01c8f14d$cdd715a0$698540e0$@com>
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
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, peter@greatnowhere.com
Subject: Re: numeric type
In-Reply-To: <Pine.BSO.4.64.0807291305500.32353@leary.csoft.net>
References: <005b01c8ea53$f64a9fd0$e2dfdf70$@com> <Pine.BSO.4.64.0807290011180.2814@leary.csoft.net> <001d01c8f14d$cdd715a0$698540e0$@com> <Pine.BSO.4.64.0807291305500.32353@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