numeric type

Поиск
Список
Период
Сортировка
От Peter
Тема numeric type
Дата
Msg-id 005b01c8ea53$f64a9fd0$e2dfdf70$@com
обсуждение исходный текст
Ответы Re: numeric type
Список pgsql-jdbc

For numeric types (with no explicit scale and precision) JDBC returns 0 for both precision and scale (ResultSetMetaData.getPrecision and getScale methods). This is breaking my app and IMO does not reflect true state of things since Postgres docs state: „NUMERIC without any precision or scale creates a column in which numeric values of any precision and scale can be stored, up to the implementation limit on precision”.

 

Shouldn’t PG JDBC driver return maximum possible values for precision and scale in such cases?

 

Peter

 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with java infinity mapping to postgres real column type
Следующее
От: "Arun ViswanathanChandrika"
Дата:
Сообщение: issue with select IN (?) query