From: Jord Tanner <jord@indygecko.com>
To: John K. Herreshoff <jkherr@centurytel.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index not used, performance problem
Date: 29 Mar 2003 08:59:29 -0800
Message-ID: <1048957169.7512.33.camel@gecko> (raw)
In-Reply-To: <200303291149.00790.jkherr@centurytel.net>
References: <1048931358.7539.11.camel@andi-lap>
<20030329214139.N4697-100000@houston.familyhealth.com.au>
<20030329103452.B16250@mail.libertyrms.com>
<200303291149.00790.jkherr@centurytel.net>
# 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@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Jord Tanner <jord@indygecko.com>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: jord@indygecko.com, jkherr@centurytel.net
Subject: Re: Index not used, performance problem
In-Reply-To: <1048957169.7512.33.camel@gecko>
References: <1048931358.7539.11.camel@andi-lap> <20030329214139.N4697-100000@houston.familyhealth.com.au> <20030329103452.B16250@mail.libertyrms.com> <200303291149.00790.jkherr@centurytel.net> <1048957169.7512.33.camel@gecko>
* 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