Re: BUG #1523: precision column value returned from getTypeInfo() - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: BUG #1523: precision column value returned from getTypeInfo()
Date
Msg-id Pine.BSO.4.56.0503032205140.25906@leary.csoft.net
Whole thread Raw
In response to Re: BUG #1523: precision column value returned from getTypeInfo()  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-bugs

On Fri, 4 Mar 2005, Oliver Jowett 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?

Compare the existing implementation of ResultSetMetaData.getPrecision.

Kris Jurka

pgsql-bugs by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: BUG #1523: precision column value returned from getTypeInfo()
Next
From: Sergio Lob
Date:
Subject: Re: BUG #1523: precision column value returned from getTypeInfo()