pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pg@fastcrypt.com
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: is it possible to get the optimizer to use indexes
Date: Fri, 19 Dec 2003 09:38:14 -0500
Message-ID: <9224.1071844694@sss.pgh.pa.us> (raw)
In-Reply-To: <1071827412.1627.25.camel@localhost.localdomain>
References: <3FE1F5A1.6080908@geizhals.at>
	<60n09q9bqg.fsf@dev6.int.libertyrms.info>
	<1071789528.1629.10.camel@localhost.localdomain>
	<3FE256AA.8000707@familyhealth.com.au>
	<1071803317.1629.16.camel@localhost.localdomain>
	<6121.1071805440@sss.pgh.pa.us>
	<1071827412.1627.25.camel@localhost.localdomain>

Dave Cramer <pg@fastcrypt.com> writes:
> So even in a north-american locale, such as en_CA this will be a
> problem?

If it's not "C" we won't try to optimize LIKE.  I know en_US does not
work (case-insensitive, funny rules about spaces, etc) and I would
expect en_CA has the same issues.

If you're using 7.4 you have the option to create a special index
instead of re-initdb'ing your whole database.

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <9224.1071844694@sss.pgh.pa.us>
Permalink:  ../9224.1071844694@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9224.1071844694@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@fastcrypt.com, chriskl@familyhealth.com.au
  Subject: Re: is it possible to get the optimizer to use indexes
  In-Reply-To: <9224.1071844694@sss.pgh.pa.us>

* 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