X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8065153FEB for ; Thu, 28 Apr 2005 12:17:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57938-02 for ; Thu, 28 Apr 2005 15:17:18 +0000 (GMT) Received: from miffy.juergenspecht.com (miffy.juergenspecht.com [69.93.124.90]) by svr1.postgresql.org (Postfix) with ESMTP id 414D953E19 for ; Thu, 28 Apr 2005 12:17:17 -0300 (ADT) Received: from az206.opt2.point.ne.jp ([218.230.104.206] helo=[192.168.1.13]) by miffy.juergenspecht.com with asmtp (Exim 4.34) id 1DRAlP-0007Cy-5D; Thu, 28 Apr 2005 11:17:15 -0400 Subject: Re: Array support From: Thomas O'Dowd To: Kris Jurka Cc: pgsql-jdbc@postgresql.org In-Reply-To: References: <1114094185.26958.22.camel@localhost.localdomain> <42681D28.6060408@opencloud.com> <1114680320.8404.88.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 29 Apr 2005 00:17:09 +0900 Message-Id: <1114701429.8404.94.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/202 X-Sequence-Number: 12809 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.