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

Re: select fails on indexed varchars.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Krohn <alex(at)gossamer-threads(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: select fails on indexed varchars.
Date: 2001-01-26 14:45:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Alex Krohn <alex(at)gossamer-threads(dot)com> writes:
> [postgres(at)penguin pgsql]$ locale
> LANG=en_US
> LC_CTYPE="en_US"
> LC_TIME="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.

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Alex KrohnDate: 2001-01-26 16:46:40
Subject: Re: select fails on indexed varchars.
Previous:From: Peter T MountDate: 2001-01-26 09:33:00
Subject: Re: [JDBC] Re: JDBC buggy in 7.1beta3

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