Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 1FDE19FB20E for ; Mon, 23 Jul 2007 16:11:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 36260-05 for ; Mon, 23 Jul 2007 16:11:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 083269FB1D4 for ; Mon, 23 Jul 2007 16:11:21 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1ID3JR-00058F-5p for pgsql-admin@postgresql.org; Mon, 23 Jul 2007 15:11:21 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id D37073FAF; Mon, 23 Jul 2007 15:11:15 -0400 (EDT) Date: Mon, 23 Jul 2007 15:11:15 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: varchar vs text columns Message-ID: <20070723191115.GI9196@phlogiston.dyndns.org> References: <835361.84815.qm@web56408.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <835361.84815.qm@web56408.mail.re3.yahoo.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/250 X-Sequence-Number: 26231 On Mon, Jul 23, 2007 at 11:33:54AM -0700, Jessica Richard wrote: > What is the difference between varchar and text for a string column? > What is the benefit of using each one? > Is text better than varchar performance wise?