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 86D233A3FCB for ; Sun, 24 Oct 2004 21:00:30 +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 10969-06 for ; Sun, 24 Oct 2004 19:59:54 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 538AE3A3FBF for ; Sun, 24 Oct 2004 21:00:20 +0100 (BST) Received: (qmail 30861 invoked by uid 1112); 24 Oct 2004 20:00:28 -0000 Date: Sun, 24 Oct 2004 15:00:28 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Tom Lane Cc: Oliver Jowett , Dave Smith , pgsql-jdbc@postgresql.org Subject: Re: Problem with fixed length fields. In-Reply-To: <27720.1098568485@sss.pgh.pa.us> Message-ID: References: <1098532450.2684.3.camel@davehome> <26657.1098556819@sss.pgh.pa.us> <417AC2C2.40605@opencloud.com> <27388.1098564647@sss.pgh.pa.us> <417ACB47.3090101@opencloud.com> <27720.1098568485@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/251 X-Sequence-Number: 11356 On Sat, 23 Oct 2004, Tom Lane wrote: > An alternative that might be worth investigating is to specify the type > as varchar instead of text. I am not sure of all the ramifications of > this but in 7.4 and later it seems like it might do what you want. > Yes, that seems to work and doesn't seem to break anything else, so that's what I've done. Kris Jurka