Re: indexes on text columns

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Martins Zarins <mark(at)vestnesis(dot)lv>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: indexes on text columns
Date: 2001-10-04 15:58:59
Message-ID: Pine.BSF.4.21.0110040857450.56434-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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).

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Brian McCane 2001-10-04 16:14:12 Re: Storage management?????
Previous Message Martins Zarins 2001-10-04 15:04:31 indexes on text columns