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: (view raw, whole thread or download thread mbox)
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-2017 The PostgreSQL Global Development Group