NULL as an element of an ARRAY

From: Andrew Lazarus <drlaz(at)attglobal(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: NULL as an element of an ARRAY
Date: 2007-07-03 18:37:39
Message-ID: 389629383.20070703113739@attglobal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The latest server allows NULL as an element of a numeric array (not
just the entire array as a NULL). But using getArray on this gives the
error 'Bad value for type Float: NULL' in
AbstractJdbc2ResultSet.toFloat(). I assume it's trying to parse a
string without special-casing NULL.

Have I missed something?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Flipper 2007-07-05 08:23:25 prepared statement: are they pre-compiled?
Previous Message Kris Jurka 2007-07-03 15:43:37 Re: Can MD5 sums be posted for the downloadable files?