Обсуждение: [PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata

Поиск
Список
Период
Сортировка

[PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata

От
Peter Royal
Дата:
DatabaseMetaData.getColumns() returns incorrect values for COLUMN_SIZE
and NUM_PREC_RADIX on numeric and decimal columns. On line 2340 of
AbstractJdbc1DatabaseMetaData it should be rs.getInt("atttypmod") not
rs.getInt(8)
-pete


Re: [PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata

От
Barry Lind
Дата:
Peter,

This was already fixed in CVS.

thanks,
--Barry

Peter Royal wrote:
> DatabaseMetaData.getColumns() returns incorrect values for COLUMN_SIZE
> and NUM_PREC_RADIX on numeric and decimal columns. On line 2340 of
> AbstractJdbc1DatabaseMetaData it should be rs.getInt("atttypmod") not
> rs.getInt(8)
> -pete
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>