Re: why is scan not using index?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kmh496 <kmh496(at)kornet(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: why is scan not using index?
Date: 2006-07-18 17:19:18
Message-ID: 5423.1153243158@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

kmh496 <kmh496(at)kornet(dot)net> writes:
> this should be in the FAQ, right?

It probably is ;-). I'm betting you're getting burnt by a non-C locale
setting, per this gotcha:

* The default C locale must be used during initdb because it is not
possible to know the next-greatest character in a non-C locale.
You can create a special text_pattern_ops index for such cases
that work only for LIKE indexing.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sandy Keathley 2006-07-18 20:36:43 Installation
Previous Message Alan Hodgson 2006-07-18 14:52:13 Re: Disk space taken