Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 250C99FB284 for ; Mon, 16 Jul 2007 05:13:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 75807-10 for ; Mon, 16 Jul 2007 05:13:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id CAF129FA410 for ; Mon, 16 Jul 2007 05:13:44 -0300 (ADT) Received: from 222-154-131-238.jetstream.xtra.co.nz ([222.154.131.238] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IALhy-0004mI-8J; Mon, 16 Jul 2007 20:13:30 +1200 Message-ID: <469B28AD.9010701@opencloud.com> Date: Mon, 16 Jul 2007 20:13:33 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Marek Lewczuk CC: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: patch - support for multi-dimensional arrays and NULL values References: <46913F83.6030806@lewczuk.com> <4691F928.9010000@lewczuk.com> <469B0F0F.2070700@opencloud.com> <469B2117.2010504@lewczuk.com> In-Reply-To: <469B2117.2010504@lewczuk.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/70 X-Sequence-Number: 17244 Marek Lewczuk wrote: > My opinion is that we should keep BC either by building two different > jdbc versions or checking PG version every time getArray() is used (if < > 8.2 then primitive types are used, if >= 8.2 then objects). Use the "compatible" URL option to make this decision, rather than server version (there are some helper functions around to help here) -O