Received: from ns.krot.org (ns.krot.org [193.212.103.165]) by postgresql.org (8.11.3/8.11.4) with SMTP id f9ANXqn34239 for ; Wed, 10 Oct 2001 19:33:52 -0400 (EDT) (envelope-from postgresql@envisity.com) Received: (qmail 31514 invoked by uid 67); 10 Oct 2001 23:32:07 -0000 Message-ID: <20011010233207.4159.qmail@ns.krot.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline MIME-Version: 1.0 From: "Aasmund Midttun Godal" To: pgsql-sql@postgresql.org Subject: VARCHAR vs TEXT Date: Wed, 10 Oct 2001 23:32:07 GMT X-Mailer: Googley-Moogley Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f9ANXrn34265 X-Archive-Number: 200110/142 X-Sequence-Number: 5097 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