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 EEACF32A6EA for ; Thu, 7 Oct 2004 06:07:19 +0100 (BST) 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 51474-06 for ; Thu, 7 Oct 2004 05:06:10 +0000 (GMT) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id 1D1AC32A7F9 for ; Thu, 7 Oct 2004 06:06:11 +0100 (BST) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by www.postgresql.com (Postfix) with ESMTP id 63BE75A1046 for ; Thu, 7 Oct 2004 06:04:59 +0100 (BST) Received: from flood.opencloud.co.nz ([192.168.0.31]) by yass.opencloud.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1CFQGq-0003Fs-00 for ; Thu, 07 Oct 2004 17:52:52 +1300 Message-ID: <4164CBA2.80600@opencloud.com> Date: Thu, 07 Oct 2004 17:52:50 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Postgres 8.0 + JDBC References: <002901c4aaf7$feabc310$a5010a0a@Johann> <4162FFC9.3010808@opencloud.com> In-Reply-To: <4162FFC9.3010808@opencloud.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/34 X-Sequence-Number: 11139 Oliver Jowett wrote: > It seems possible to fix the driver to handle this case by making > setArray() derive a proper array type name i.e. ("_" + > Array.getBaseType()), and using that rather than 'text' as the parameter > type. I've done this (plus tests) and it seems to work OK. I can't generate a patch right now as gborg seems to be having some problems (I get 70% packet loss on the last hop, which pretty much hoses CVS access) -O