Re: Varchar vs text

From: Thom Brown <thombrown(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Varchar vs text
Date: 2009-01-27 10:50:43
Message-ID: bddc86150901270250s32af7cb4k2738dfbdec92f3ea@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)archonet(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2009-01-27 10:52:35 plpython infinite loop
Previous Message Tommy Gildseth 2009-01-27 10:30:48 Text search with ispell