Re: Indexes on Character Types

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: val(at)webtribe(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Indexes on Character Types
Date: 2004-07-28 18:51:31
Message-ID: 20040728185131.GA4406@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 28, 2004 at 12:31:00PM +0100, val(at)webtribe(dot)net wrote:
> In the 7.3 documentation about character data types
> (http://www.postgresql.org/docs/7.3/static/datatype-
> character.html), it states:
> "Tip: There are no performance differences between these* three
> types, apart from the increased storage size when using the
> blank-padded type."
> *referencing character, character varying and text data types
>
> Is that statement applicable to indexes applied to those
> columns? Is there any difference in performance for an index
> applied to a character, character varying and text data type?

Yes, no. Apart from the increased storage size when using the
blank-padded type.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Criptografía: Poderosa técnica algorítmica de codificación que es
empleada en la creación de manuales de computadores.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2004-07-28 19:06:38 Re: Trigger on Postgres for tables syncronization
Previous Message Chris 2004-07-28 18:51:29 Re: php -postgresql