pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas O'Dowd <tom@uwillsee.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Array support
Date: Fri, 29 Apr 2005 00:17:09 +0900
Message-ID: <1114701429.8404.94.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.BSO.4.56.0504280921150.30994@leary.csoft.net>
References: <1114094185.26958.22.camel@localhost.localdomain>
	<Pine.BSO.4.56.0504211333040.5816@leary.csoft.net>
	<42681D28.6060408@opencloud.com>
	<1114680320.8404.88.camel@localhost.localdomain>
	<Pine.BSO.4.56.0504280921150.30994@leary.csoft.net>

Kris,

> Right, the ARRAY[] syntax is part of the parser which doesn't get invoked 
> on parameters, so you need to use the {} format.

Gotcha.

> > Q: How do I set an array column to null using a PreparedStatement?
> 
> This is indeed a bug, I've fixed this in the 8.0 + head branches.  Updated 
> jar files are available here:
> 
> http://www.ejurka.com/pgsql/jars/tod/

Just downloaded the new driver and tested it. It works a charm. Thanks
for tracking this down so promptly and making the jar available.

Best regards,

Tom.




view thread (7+ messages)

Message-ID: <1114701429.8404.94.camel@localhost.localdomain>
Permalink:  ../1114701429.8404.94.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1114701429.8404.94.camel@localhost.localdomain

 · 

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: tom@uwillsee.com, books@ejurka.com
  Subject: Re: Array support
  In-Reply-To: <1114701429.8404.94.camel@localhost.localdomain>
  References: <1114094185.26958.22.camel@localhost.localdomain> <Pine.BSO.4.56.0504211333040.5816@leary.csoft.net> <42681D28.6060408@opencloud.com> <1114680320.8404.88.camel@localhost.localdomain> <Pine.BSO.4.56.0504280921150.30994@leary.csoft.net> <1114701429.8404.94.camel@localhost.localdomain>

* 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