From: Oliver Jowett <oliver@opencloud.com>
To: Sergio Lob <sergio_lob@iwaysoftware.com>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BUG #1523: precision column value returned from getTypeInfo()
Date: Fri, 04 Mar 2005 15:07:35 +1300
Message-ID: <4227C2E7.7030308@opencloud.com> (raw)
In-Reply-To: <20050303212419.7046AF0D94@svr2.postgresql.org>
References: <20050303212419.7046AF0D94@svr2.postgresql.org>
(cc'ing -jdbc)
Sergio Lob wrote:
> After calling Connection.DatabaseMetaData.getTypeInfo() method, the
> PRECISION column of the ResultSet seems hardcoded to value 9, which of
> course in incorrect
Well, it's working as intended in the sense that there is no code to
support retrieving a real precision value -- it is indeed a hardcoded
placeholder value. I'm not sure why '9' off the top of my head, perhaps
making that column NULL would be better? What are the units of this
value anyway?
If you're willing to do the implementation work to improve this, then
post a patch to pgsql-jdbc and I can look at applying it.
-O
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: oliver@opencloud.com, sergio_lob@iwaysoftware.com, pgsql-bugs@postgresql.org
Subject: Re: BUG #1523: precision column value returned from getTypeInfo()
In-Reply-To: <4227C2E7.7030308@opencloud.com>
References: <20050303212419.7046AF0D94@svr2.postgresql.org> <4227C2E7.7030308@opencloud.com>
* 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