Re: Varchar vs text - Mailing list pgsql-general

From Thom Brown
Subject Re: Varchar vs text
Date
Msg-id bddc86150901270250s32af7cb4k2738dfbdec92f3ea@mail.gmail.com
Whole thread Raw
In response to Varchar vs text  (Thom Brown <thombrown@gmail.com>)
Responses Re: Varchar vs text
List pgsql-general
The reason I ask is because the documentation says "If character varying is used without length specifier, the type accepts strings of any size. The latter is a PostgreSQL extension."  I wasn't sure if such an extension meant there was a level of over-head involved, or reduced its indexability.

2009/1/27 Richard Huxton <dev@archonet.com>
Thom Brown wrote:
> Is there a real difference between a varchar without a specified length and
> the text datatype?

No.

Wish all questions were that easy :-)

--
 Richard Huxton
 Archonet Ltd

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Varchar vs text
Next
From: Tommy Gildseth
Date:
Subject: Text search with ispell