pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Lazarus <drlaz@attglobal.net>
To: pgsql-jdbc@postgresql.org
Subject: NULL as an element of an ARRAY
Date: Tue, 3 Jul 2007 11:37:39 -0700
Message-ID: <389629383.20070703113739@attglobal.net> (raw)

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?




Message-ID: <389629383.20070703113739@attglobal.net>
Permalink:  ../389629383.20070703113739@attglobal.net/
Also on:    postgresql.org/message-id/389629383.20070703113739@attglobal.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: drlaz@attglobal.net
  Subject: Re: NULL as an element of an ARRAY
  In-Reply-To: <389629383.20070703113739@attglobal.net>
  References: <389629383.20070703113739@attglobal.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox