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

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Collate order on Mac OS X, text with diacritics in UTF-8
Дата
Msg-id 4B4EAC54.2070300@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Collate order on Mac OS X, text with diacritics in UTF-8  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Collate order on Mac OS X, text with diacritics in UTF-8
Список 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 по дате отправления:

Предыдущее
От: Yan Cheng Cheok
Дата:
Сообщение: Re: Extremely Slow Cascade Delete Operation
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Extremely Slow Cascade Delete Operation