data set combination of integer and decimal/numeric returns wrong result type

Поиск
Список
Период
Сортировка
От the6campbells
Тема data set combination of integer and decimal/numeric returns wrong result type
Дата
Msg-id CAFEjsq4oeM25e=7Tn1X2Fe2RLMsDBqp7h9iU6Fu9nxd+ibXEng@mail.gmail.com
обсуждение исходный текст
Ответы Re: data set combination of integer and decimal/numeric returns wrong result type  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-jdbc
integer
union 
decimal/numeric (7,2)

select tint.cint from tint union select tdec.cdec from tdec 

no precision is returned as expected etc 
display size is odd



ColumnIndexgetColumnNamegetColumnTypeNamegetPrecisiongetScaleisNullablegetTableNamegetSchemaNamegetCatalogNamegetColumnClassNamegetColumnDisplaySizegetColumnLabelgetColumnTypeisAutoIncrementisCaseSensitiveisCurrencyisDefinitelyWritable isReadOnlyisSearchableisSignedisWritable
1cintnumeric002   java.math.BigDecimal131089cint2falsefalsefalsefalsefalsetruetruetrue

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

Предыдущее
От: the6campbells
Дата:
Сообщение: Re: data type of projected item in a union not correct
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Bug in AbstracJdbc2Statement.replaceProcessing when using dollar quoting?