Re: varchar(n) VS text

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Paul Lambert <paul(dot)lambert(at)autoledgers(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: varchar(n) VS text
Date: 2007-06-28 01:07:42
Message-ID: 20070628010742.GC561@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul Lambert wrote:

> Is there any disk space advantages to using varchar over text? Or will a
> text field only ever use up as much data as it needs.

1. no 2. yes.

--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"Hackers share the surgeon's secret pleasure in poking about in gross innards,
the teenager's secret pleasure in popping zits." (Paul Graham)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Lambert 2007-06-28 01:20:31 Re: varchar(n) VS text
Previous Message Michael Glaesemann 2007-06-28 01:03:55 Re: varchar(n) VS text