Re: Collate order on Mac OS X, text with diacritics in UTF-8 - Mailing list pgsql-general

From Craig Ringer
Subject Re: Collate order on Mac OS X, text with diacritics in UTF-8
Date
Msg-id 4B4EAC54.2070300@postnewspapers.com.au
Whole thread Raw
In response to Re: Collate order on Mac OS X, text with diacritics in UTF-8  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Collate order on Mac OS X, text with diacritics in UTF-8  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Martijn van Oosterhout wrote:

>> in a UTF8 text file and use the "sort" command on it, you will have the same wrong output as with PostgreSQL :
>
> Yes, that's the basic idea. Mac OS X apparently provides ICU underneath
> for programs that would like true unicode collation, but there is
> little chance that postgresql will ever use this.

Out of interest: Why not?

Using ICU would permit Pg to be independent of libc's collation rules,
finally permitting things like specifying a specific collation for a
textual sort. It'd make mixing data from different locales in a database
a lot easier (read: possible to do correctly).

Is this just a matter of "nobody cares enough to produce a solid, tested
patch with equivalent performance that doesn't turn people who try to
review it green with disgust" ... or are there specific reasons why
using something like ICU instead of libc's locale support is not
appropriate for Pg?

--
Craig Ringer

pgsql-general by date:

Previous
From: Yan Cheng Cheok
Date:
Subject: Re: Extremely Slow Cascade Delete Operation
Next
From: Craig Ringer
Date:
Subject: Re: Extremely Slow Cascade Delete Operation