X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 59662D1D2FE for ; Sat, 6 Mar 2004 04:32:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 63545-04 for ; Sat, 6 Mar 2004 00:32:23 -0400 (AST) Received: from gw.tssi.com (gw.tssi.com [198.147.197.1]) by svr1.postgresql.org (Postfix) with ESMTP id AD129D1B4ED for ; Sat, 6 Mar 2004 00:32:17 -0400 (AST) Received: from gw.tssi.com (nolan@gw.tssi.com [127.0.0.1] (may be forged)) by gw.tssi.com (8.12.6/8.12.6) with ESMTP id i264WF8S025071; Fri, 5 Mar 2004 22:32:16 -0600 Received: (from nolan@localhost) by gw.tssi.com (8.12.6/8.12.6/Submit) id i264WFCk025069; Fri, 5 Mar 2004 22:32:15 -0600 From: Mike Nolan Message-Id: <200403060432.i264WFCk025069@gw.tssi.com> Subject: Re: Fixed width rows faster? To: chriskl@familyhealth.com.au (Christopher Kings-Lynne) Date: Fri, 5 Mar 2004 22:32:14 -0600 (CST) Cc: pg@rbt.ca (Rod Taylor), josh@agliodbs.com (Josh Berkus), wmoran@potentialtech.com (Bill Moran), threshar@torgo.978.org (Jeff), pgsql-performance@postgresql.org (Postgresql Performance) In-Reply-To: <4049518D.70705@familyhealth.com.au> from "Christopher Kings-Lynne" at Mar 06, 2004 12:20:29 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/68 X-Sequence-Number: 5924 > >>You don't consider a requirement that a field be no longer than a > >>certain length a reason not to use TEXT? > > Can't you just create a TEXT(255) field same as you can just create > VARCHAR (with no length) field? I think they're basically synonyms for > each other these days. I'll defer to the SQL standard gurus on this, as well as to the internals guys, but I suspect there is a difference between the standard itself and implementor details, such as how char, varchar, varchar2 and text are implemented. As long as things work as specified, I don't think the standard cares much about what's happening behind the curtain. -- Mike Nolan