Re: Query appears not to recognise index (enable_seqscan=off) - Mailing list pgsql-novice

From Neil Saunders
Subject Re: Query appears not to recognise index (enable_seqscan=off)
Date
Msg-id ddcd549e0904280955u356827abg5443f115904e46f8@mail.gmail.com
Whole thread Raw
In response to Re: Query appears not to recognise index (enable_seqscan=off)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Excellent - Nailed it - Thanks!

On Tue, Apr 28, 2009 at 5:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Neil Saunders <n.j.saunders@gmail.com> writes:
>> And we're still running the sequential scan - My questions is why?
>
> You're probably not in C locale.  Change locale or use a
> text_pattern_ops index instead of a plain index on lower(name).
> See
> http://wiki.postgresql.org/wiki/FAQ#Why_are_my_queries_slow.3F_Why_don.27t_they_use_my_indexes.3F
>
>                        regards, tom lane
>

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query appears not to recognise index (enable_seqscan=off)
Next
From: Marcin Krol
Date:
Subject: retrieving primary key for row with MIN function