Re: locale support - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: locale support
Date
Msg-id Pine.LNX.4.44.0305072202570.2565-100000@peter.localdomain
Whole thread Raw
In response to locale support  (Jodi Kanter <jkanter@virginia.edu>)
List pgsql-admin
Jodi Kanter writes:

> We originally changed the development machine from en_US to C because we
> were having a problem with spaces being sorted in correctly. That has
> been fixed on the development box, but I now noticed it is sorting lower
> case letters after all capital letters. I would prefer that case is
> ignored when alphabetical sorts are completed. This type of sort is
> working correctly on the machine where both locales are set to en_US.

"C" gives you byte sort order (which happens to come out A..Za..z), en_US
(or any other "real" locale) gives you a more natural order that matches
what a typical dictionary would use.  If you have very particular
requirements, you can try to create your own locales.  Most modern
operating systems have support for that.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-admin by date:

Previous
From: Jodi Kanter
Date:
Subject: locale support
Next
From: Bruno Wolff III
Date:
Subject: Re: locale support