pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
indexes on text columns
2+ messages / 2 participants
[nested] [flat]

* indexes on text columns
@ 2001-10-04 15:04 Martins Zarins <mark@vestnesis.lv>
  2001-10-04 15:58 ` Re: indexes on text columns Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Martins Zarins @ 2001-10-04 15:04 UTC (permalink / raw)
  To: pgsql-admin

Hi , all!

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?

Mark



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: indexes on text columns
  2001-10-04 15:04 indexes on text columns Martins Zarins <mark@vestnesis.lv>
@ 2001-10-04 15:58 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2001-10-04 15:58 UTC (permalink / raw)
  To: Martins Zarins <mark@vestnesis.lv>; +Cc: 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).





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-10-04 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-04 15:04 indexes on text columns Martins Zarins <mark@vestnesis.lv>
2001-10-04 15:58 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox