VARCHAR vs TEXT - Mailing list pgsql-sql

From Aasmund Midttun Godal
Subject VARCHAR vs TEXT
Date
Msg-id 20011010233207.4159.qmail@ns.krot.org
Whole thread Raw
Responses Re: VARCHAR vs TEXT  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
I am sure this question has been answered in some form or another before, but I can't really find anything on exactly
thisissue.
 

Are there any differences between varchar and text other than

1. varchar has limited size
2. varchar is SQL 92 text is not?

Especially regarding performance.

Or am I correct to assume that if you need a place to store some text, and you are not sure how much (like an email
addressor a name) you are best off using text?
 


Aasmund Midttun Godal

aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46


pgsql-sql by date:

Previous
From: "Aasmund Midttun Godal"
Date:
Subject: Restricting access to large objects.
Next
From: Stephan Szabo
Date:
Subject: Re: VARCHAR vs TEXT