Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: Sandy KeathleyDate: 2006-07-18 20:36:43
Subject: Installation
Previous:From: Alan HodgsonDate: 2006-07-18 14:52:13
Subject: Re: Disk space taken

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group