varchar vs. text

From: Michael Garriss <mgarriss(at)earthlink(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: varchar vs. text
Date: 2003-09-18 03:59:44
Message-ID: 3F692DB0.4010300@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I curious about the benefits of a varchar over text. Is it speed,
size? If so, how much speed, size? Is a varchar(64) and a text with 64
chars the same size? I'm inclined to make all my varchars into text so
I don't have to worry about inserting something to big.

TIA,
Michael

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-18 04:21:40 Re: [PATCHES] backend crashing despite tsearch2 patch
Previous Message Ron Johnson 2003-09-18 03:44:42 Re: High-volume shop uses PostgreSQL