pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Nolan <nolan@gw.tssi.com>
To: chriskl@familyhealth.com.au
Cc: pg@rbt.ca
Cc: josh@agliodbs.com
Cc: wmoran@potentialtech.com
Cc: threshar@torgo.978.org
Cc: pgsql-performance@postgresql.org
Subject: Re: Fixed width rows faster?
Date: Fri, 5 Mar 2004 22:32:14 -0600 (CST)
Message-ID: <200403060432.i264WFCk025069@gw.tssi.com> (raw)
In-Reply-To: <4049518D.70705@familyhealth.com.au>

> >>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



view thread (23+ messages)  latest in thread

Message-ID: <200403060432.i264WFCk025069@gw.tssi.com>
Permalink:  ../200403060432.i264WFCk025069@gw.tssi.com/
Also on:    postgresql.org/message-id/200403060432.i264WFCk025069@gw.tssi.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: nolan@gw.tssi.com, chriskl@familyhealth.com.au, pg@rbt.ca, josh@agliodbs.com, wmoran@potentialtech.com, threshar@torgo.978.org
  Subject: Re: Fixed width rows faster?
  In-Reply-To: <200403060432.i264WFCk025069@gw.tssi.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox