Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C7EFA2E0032 for ; Tue, 20 Nov 2007 17:37:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 27386-03 for ; Tue, 20 Nov 2007 17:37:29 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 2CA962E003B for ; Tue, 20 Nov 2007 17:37:37 -0400 (AST) Received: (qmail 19411 invoked by uid 1112); 20 Nov 2007 21:37:36 -0000 Date: Tue, 20 Nov 2007 16:37:36 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: =?ISO-8859-1?Q?Christian_Schr=F6der?= cc: pgsql-jdbc@postgresql.org Subject: Re: NULL values in arrays In-Reply-To: <47432E13.4080707@deriva.de> Message-ID: References: <47432E13.4080707@deriva.de> MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200711/63 X-Sequence-Number: 17818 On Tue, 20 Nov 2007, Christian Schr=F6der wrote: > since PostgreSQL version 8.2 arrays can contain null values. This doesn't= =20 > seem to be correctly handled by the driver. (I had a look at the latest C= VS=20 > version.) > I have found in the archive a mail from Marek Lewczuk (sent on 2007-10-11= )=20 > who adressed this issue, but the thread seems to be dead. Moreover, he di= d=20 > not supply a patch, so I tried to do it myself. Could you please have a l= ook=20 > at the attached file and decide if it should be applied to the sources? > Marek did post a patch that additionally contains support for=20 multi-dimensional indexes which has complicated the reviewing process.=20 I'll post my comments on that patch tomorrow and we'll hopefully get it=20 into the 8.3 release. For the 8.2 driver I'll take a closer look at your= =20 patch and apply it barring some unforeseen issue. Kris Jurka