Hi,
I've found 2 bugs related with BigDecimal in the JDBC driver.
The first bug occurs when you call Array.toArray on a column containing an
array of NUMERIC. The returned java array is wrong with all BigDecimal
stored in the first element.
The second bug is in PreparedStatement.setBigDecimal. If you pass a null
object as argument, the method raises a NullPointerException.
Attached are the 2 diff files to correct those bugs.
Kudos to all postgresql developers for their great job!
Florian