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

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: BUG #1523: precision column value returned from getTypeInfo()
Дата
Msg-id 4227C2E7.7030308@opencloud.com
обсуждение исходный текст
Ответ на BUG #1523: precision column value returned from getTypeInfo() always has value 9  ("Sergio Lob" <sergio_lob@iwaysoftware.com>)
Ответы Re: BUG #1523: precision column value returned from getTypeInfo()
Re: BUG #1523: precision column value returned from getTypeInfo()
Список pgsql-bugs
(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

В списке pgsql-bugs по дате отправления:

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