Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 29F391337B94 for ; Mon, 14 Feb 2011 09:13:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 99975-05 for ; Mon, 14 Feb 2011 13:13:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id B1A0D1337B51 for ; Mon, 14 Feb 2011 09:13:09 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PoyEj-0005Ah-Qs; Tue, 15 Feb 2011 02:13:05 +1300 Message-ID: <4D592A5C.3090201@opencloud.com> Date: Tue, 15 Feb 2011 02:13:00 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: RW Shore CC: pgsql-jdbc@postgresql.org Subject: Re: Array type error References: <4D591221.50103@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/80 X-Sequence-Number: 21478 On 15/02/11 01:52, RW Shore wrote: > I understand the interchangability of bit(1) and boolean at a certain > level, but IMO this is still an inconsistency at best if not an outright > bug. I didn't mean that the server-side types bit(1) and boolean were interchangeable. I meant that at the JDBC level, Types.BIT and Types.BOOLEAN mean the same thing - the boolean type. BIT doesn't really map to the server-side bit(n) type at all. BOOLEAN is only available in later JDBC versions, so the driver prefers BIT when returning metadata. Oliver