Re: BUG #1523: precision column value returned from getTypeInfo()

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: BUG #1523: precision column value returned from getTypeInfo()
Дата
Msg-id Pine.BSO.4.56.0503032205140.25906@leary.csoft.net
обсуждение исходный текст
Ответ на Re: BUG #1523: precision column value returned from getTypeInfo()  (Oliver Jowett <oliver@opencloud.com>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: BUG #1523: precision column value returned from getTypeInfo()
Следующее
От: Sergio Lob
Дата:
Сообщение: Re: BUG #1523: precision column value returned from getTypeInfo()