Re: varchar vs. text

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
Cc: Jan Wieck <JanWieck(at)Yahoo(dot)com>, Rachit Siamwalla <rachit(at)ensim(dot)com>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: varchar vs. text
Date: 2001-07-11 16:17:12
Message-ID: 200107111617.f6BGHCK20014@jupiter.us.greatbridge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ross J. Reedstrom wrote:
> On Wed, Jul 11, 2001 at 09:56:27AM -0400, Jan Wieck wrote:
> > Rachit Siamwalla wrote:
> > >
> > > Is there any good reason to use VARCHAR over TEXT for a string field? ie.
> > > performance hits, etc.
> > >
> > > Other than running into the row size limit problem, are there any large
> > > storage / performance penalties of using TEXT for virtually all strings?
> >
> > Er - what kind of "row size limit"? I remember vaguely that
> > there was something the like in ancient releases, but forgot
> > the specific restrictions.
>
> <FX: Sound of Jan whistling, looking around innocently>
>
> Very good Jan. Yes, PostgreSQL certainly develops on Internet time, and
> while TOAST may seem ancient news to you, it was only in the 7.1 release
> (2001-04-13). Three months is a little early to start the 'Problem? What
> problem?' campaign. Especially since some of the client libs (OBDC)
> just caught up, last week. :-)

You're absotulely right, including the whistling ;-)

I just couldn't resist, was too temping. And since I was sure
there'll be more informative responses either way, why not?

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-07-11 16:26:43 Re: Re: SOMAXCONN (was Re: Solaris source code)
Previous Message Peter Eisentraut 2001-07-11 16:15:13 Re: Re: SOMAXCONN (was Re: Solaris source code)