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 18F369F9CEE for ; Tue, 16 May 2006 06:22:41 -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 23625-02 for ; Tue, 16 May 2006 06:22:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id 9DA1B9F944D for ; Tue, 16 May 2006 06:22:33 -0300 (ADT) Received: (qmail 2898 invoked by uid 1112); 16 May 2006 09:22:32 -0000 Date: Tue, 16 May 2006 04:22:32 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Andy Jefferson cc: pgsql-jdbc@postgresql.org Subject: Re: JPOX Types.CHAR error In-Reply-To: <200605161057.09782.andy@jpox.org> Message-ID: References: <200605160908.05250.andy@jpox.org> <200605161057.09782.andy@jpox.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/56 X-Sequence-Number: 15184 On Tue, 16 May 2006, Andy Jefferson wrote: >> I'm not sure there's a good reason that "char" isn't returned as >> Types.CHAR, but you definitely want to be using bpchar as the default >> mapping for Types.CHAR. > > Thanks for the reply Kris. Only one question. Has "bpchar" existed in > Postgresql for some time (e.g versions 7.0 onwards) or is it recent ? We > (JPOX) need to support many versions of Postgresql and I don't want to change > historical support here. > bpchar is available in all versions from 7.0 on. Kris Jurka