Skip site navigation (1) Skip section navigation (2)

Re: Index not used, performance problem

From: Jord Tanner <jord(at)indygecko(dot)com>
To: "John K(dot) Herreshoff" <jkherr(at)centurytel(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Index not used, performance problem
Date: 2003-03-29 16:59:29
Message-ID: 1048957169.7512.33.camel@gecko (view raw or flat)
Thread:
Lists: pgsql-performance
# su postgres
% export LANG=C
% /usr/local/pgsql/bin/initdb blah blah

That always works for me!

On Sat, 2003-03-29 at 08:49, John K. Herreshoff wrote:
> In Linux (Redhat) where, exactly, does one set the LOCALE to C?
> 
> TIA :-)
> 
> John.
> 
> On Saturday 29 March 2003 10:34 am, Andrew Sullivan wrote:
> > On Sat, Mar 29, 2003 at 09:47:51PM +0800, Christopher Kings-Lynne wrote:
> > > the form 'FOO%', which is what you are doing.  However, I believe that
> > > PostgreSQL cannot do this if your database encoding is anything other
> > > than 'C'.  So, if you are using an Austrian encoding, it might not be
> > > able to
> >
> > That is, you need to have had the LOCALE set to 'C' when you did
> > initdb.  It's not enough to change it afterwards.
> >
> > A
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
-- 
Jord Tanner <jord(at)indygecko(dot)com>


In response to

pgsql-performance by date

Next:From: Matt MelloDate: 2003-03-29 17:55:00
Subject: Re: Index not used, performance problem
Previous:From: Andreas KostyrkaDate: 2003-03-29 16:59:11
Subject: Re: Index not used, performance problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group