From: Aasmund Midttun Godal <postgresql@envisity.com>
To: pgsql-sql@postgresql.org
Subject: VARCHAR vs TEXT
Date: Wed, 10 Oct 2001 23:32:07 GMT
Message-ID: <20011010233207.4159.qmail@ns.krot.org> (raw)
I am sure this question has been answered in some form or another before, but I can't really find anything on exactly this issue.
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 address or a name) you are best off using text?
Aasmund Midttun Godal
aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46
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-sql@postgresql.org
Cc: postgresql@envisity.com
Subject: Re: VARCHAR vs TEXT
In-Reply-To: <20011010233207.4159.qmail@ns.krot.org>
* 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