X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id CD61B9FA4F2 for ; Tue, 16 May 2006 06:13:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 14359-01 for ; Tue, 16 May 2006 06:13:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from roobarb.ajsoft.net (169.Red-83-54-160.dynamicIP.rima-tde.net [83.54.160.169]) by postgresql.org (Postfix) with ESMTP id 5AA5E9FA4EA for ; Tue, 16 May 2006 06:13:05 -0300 (ADT) Received: from roobarb.ajsoft.net (roobarb.ajsoft.net [127.0.0.1]) by roobarb.ajsoft.net (Postfix) with ESMTP id CF5885E75E for ; Tue, 16 May 2006 11:13:02 +0200 (CEST) From: Andy Jefferson Organization: JPOX To: pgsql-jdbc@postgresql.org Subject: Re: JPOX Types.CHAR error Date: Tue, 16 May 2006 11:13:01 +0200 User-Agent: KMail/1.8.2 References: <200605160908.05250.andy@jpox.org> <200605161057.09782.andy@jpox.org> <200605161108.46840.andy@jpox.org> In-Reply-To: <200605161108.46840.andy@jpox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605161113.01181.andy@jpox.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.06 tagged_above=0 required=5 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL X-Spam-Level: X-Archive-Number: 200605/55 X-Sequence-Number: 15183 > Also, I cannot do bpchar(100) whereas I can do char(100) ... the precision > returned by getTypeInfo is limited to 9 for bpchar whereas is 65000 for > char. Ignore that. All Postgresql types returned by getTypeInfo() return the precision as 9 ... whatever that is supposed to mean. Any chance that Postgresql JDBC will one day return correct info for the precision ? It would make life a hell of a lot easier for systems that use the results of its JDBC method calls. -- Andy