Re: PostgreSQL, Mac OS X and locales - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: PostgreSQL, Mac OS X and locales
Date
Msg-id 20051101222422.GG21137@svana.org
Whole thread Raw
In response to PostgreSQL, Mac OS X and locales  (Guido Neitzer <guido.neitzer@pharmaline.de>)
Responses Re: PostgreSQL, Mac OS X and locales
List pgsql-general
On Tue, Nov 01, 2005 at 10:56:02PM +0100, Guido Neitzer wrote:
> Hi.
>
> I have a problem with the use of PostgreSQL on Mac OS X (10.4.x) and
> selects with "order by". When there are german umlauts in the column
> which is used to order, the sorted result is wrong.

PostgreSQL should get the same results as the command-line sort for the
same values of LC_COLLATE. However, the value is fixed at initdb time
so maybe that's what's confusing you.

However, MacOS X inherited FreeBSDs locale setup, which is fairly lame.
They've made many improvements though so your problem should be
fixable.

BTW, you didn't actually say what locale you where using...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Bob Pawley
Date:
Subject: Linking
Next
From: Tino Wildenhain
Date:
Subject: Re: SQL injection