Re: Leading substrings - alternatives with 8.1.3?

From: Wes <wespvp(at)syntegra(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Leading substrings - alternatives with 8.1.3?
Date: 2006-05-01 18:45:35
Message-ID: C07BC17F.242F4%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/1/06 12:47 PM, "Martijn van Oosterhout" <kleptog(at)svana(dot)org> wrote:

> Check the documentation, but if you declare a index with (for example)
> text_pettern_ops, then LIKE will work even if the rest of your DB is
> UTF-8.

My understanding of using operator classes is that I'd have to create two
indexes for each column - one with and one without the operator class. That
is also what was indicated in the original thread. Defining multiple
indexes on a given column isn't feasible, due to the database size (100
million rows per day).

Wes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Lausin 2006-05-01 19:08:37 Re: Is PostgreSQL an easy choice for a large CMS?
Previous Message Scott Marlowe 2006-05-01 18:41:37 Re: Is PostgreSQL an easy choice for a large CMS?