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

Re: select fails on indexed varchars.

From: Alex Krohn <alex(at)gossamer-threads(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: select fails on indexed varchars.
Date: 2001-01-26 16:46:40
Message-ID: 20010126084514.0B92.ALEX@gossamer-threads.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi Tom,

> > [postgres(at)penguin pgsql]$ locale
> > LANG=en_US
> > LC_CTYPE="en_US"
> > LC_NUMERIC="en_US"
> > LC_TIME="en_US"
> > LC_COLLATE="en_US"
> > LC_MONETARY="en_US"
> > LC_MESSAGES="en_US"
> > LC_ALL=en_US
> > [postgres(at)penguin pgsql]$
> 
> > Postmaster is running as user pgsql. Any ideas on workarounds? 
> 
> Use locale "C" unless you have a really good reason why you need
> en_US sorting order.
> 
> Beware of changing the postmaster's locale on the fly, however,
> since that will leave you with corrupted (out-of-order) indexes.
> Safest to dump/initdb in new locale/reload.

How would I go about changing that? Setting LANG and LC_ALL in the pgsql
users home directory .bashrc? Or do I need to edit the startup file?

Cheers,

Alex

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2001-01-26 17:01:02
Subject: Re: select fails on indexed varchars.
Previous:From: Tom LaneDate: 2001-01-26 14:45:25
Subject: Re: select fails on indexed varchars.

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