pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Kalchev <daniel@digsys.bg>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
Date: Wed, 09 Jun 1999 16:53:19 +0300
Message-ID: <199906091353.QAA19490@dcave.digsys.bg> (raw)

Further to my cyrillic charset (--enable-locale) introduced woes, I would like 
to add, that when recompiling Postgres 6.5 without --enable-locale now the 
query runs reasonably fast and explain gives:

Index Scan using w_k_words_i on words  (cost=1112.13 rows=1 width=12)

instead of 

Index Scan using w_k_words_i on words  (cost=3335.38 rows=1 width=12)

The problem as it seems is that the restrictions to use indexes when locale is 
enabled are not consistently applied - explain shows that indices will be 
used, and the behavior with indexes and without indexes is different (with 
indexes it's noticeably slower :-) so indexes are apparently being used...

Apparently (for my current tests at least) the Bulgarian cyrillic 
(windows-1251) is handled reasonably well without locale support - untill now 
~* didn't work anyway.

Daniel Kalchev




view thread (41+ messages)  latest in thread

Message-ID: <199906091353.QAA19490@dcave.digsys.bg>
Permalink:  ../199906091353.QAA19490@dcave.digsys.bg/
Also on:    postgresql.org/message-id/199906091353.QAA19490@dcave.digsys.bg

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: daniel@digsys.bg, maillist@candle.pha.pa.us
  Subject: Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
  In-Reply-To: <199906091353.QAA19490@dcave.digsys.bg>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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