Re: Mac ordering with locales - Mailing list pgsql-general

From Jeff Davis
Subject Re: Mac ordering with locales
Date
Msg-id 1203621298.7878.21.camel@dogma.ljc.laika.com
Whole thread Raw
In response to Re: Mac ordering with locales  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Mac ordering with locales
List pgsql-general
On Thu, 2008-02-21 at 12:01 -0500, Tom Lane wrote:
> Pascal Cohen <pcohen@wimba.com> writes:
> > The fact is that works on Linux and win but under Mac I always get the
> > ordering with 'default' C locale (I displayed all the lc_* and all are
> > right set)
>
> Yeah, this has been complained of before, eg here
> http://archives.postgresql.org/pgsql-general/2005-11/msg00047.php
> and here
> http://archives.postgresql.org/pgsql-general/2004-04/msg00564.php
>
> It seems to be a deficiency in Apple's locale support.  The second
> message is interesting since it indicates that "smart" sorting is
> available somewhere/somehow under OS X, but nobody here knows how
> to get at it :-(

I have looked for a standard related to the locale behavior and I was
surprised that I couldn't find one. Is a given locale, e.g. en_US,
supposed to have identical behavior on any platform for which it's
available?

If there is a standard of some kind, is apple violating it?

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mac ordering with locales
Next
From: Dee
Date:
Subject: Re: Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)