mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal support
This commit is contained in:
@@ -140,7 +140,7 @@ public class Array implements java.sql.Array
|
||||
case Types.NUMERIC:
|
||||
retVal = new BigDecimal[ count ];
|
||||
for ( ; count > 0; count-- )
|
||||
((BigDecimal[])retVal)[i] = ResultSet.toBigDecimal( arrayContents[(int)index++], 0 );
|
||||
((BigDecimal[])retVal)[i++] = ResultSet.toBigDecimal( arrayContents[(int)index++], 0 );
|
||||
break;
|
||||
case Types.REAL:
|
||||
retVal = new float[ count ];
|
||||
|
Reference in New Issue
Block a user