Re: indexes on text columns - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: indexes on text columns
Date
Msg-id Pine.BSF.4.21.0110040857450.56434-100000@megazone23.bigpanda.com
Whole thread Raw
In response to indexes on text columns  ("Martins Zarins" <mark@vestnesis.lv>)
List pgsql-admin
On Thu, 4 Oct 2001, Martins Zarins wrote:

> I'm using 7.1.3 with --enable-locale
> my locale is lv_LV.ISO8859-13
> And sort works prety fine.
>
> I have a table with text column and index in it.
> When I make some
> EXPLAIN select id from text_table where text_column = 'some_text'
> it reports that sequential scan will be used
> BUT
> When I recompile postgres WITHOUT --enable-locale, index scan ir
> working fine, but sort don't.
>
> Is this a bug or I missed some configuration about locale and
> indeces?

Hmm, did you vacuum analyze both of them?  What is explain giving
for the estimated row counts?  AFAIKnew, that should have been fine
(although I've never used the locale stuff).



pgsql-admin by date:

Previous
From: "Martins Zarins"
Date:
Subject: indexes on text columns
Next
From: Brian McCane
Date:
Subject: Re: Storage management?????