Re: using strxfrm for having multi locale/please vote for adding this function in contribution

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: using strxfrm for having multi locale/please vote for adding this function in contribution
Дата
Msg-id 87oeaij54g.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: using strxfrm for having multi locale/please vote for  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: using strxfrm for having multi locale/please vote for  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:

> I think we have concluded that the use of the ICU library is the way we
> are going to accomplish multi-locale support in the future.

You did? It really seemed like there was one crowd pushing ICU and hardly
anyone else interested in piling a huge library dependency on Postgres. It
seemed like ICU was only really necessary if you wanted some esoteric
functionality that wasn't entirely explained.

I'm having no trouble handling multi-locale already using the strxfrm
implementation that was posted and refined by several people on the mailing
list.

Yes it's true that on some OSes it wouldn't be tolerably efficient but on
glibc it's more than tolerable. If better solutions (strxfrm_l) become
available at some point in the future then it would be about as efficient as
it could be on platforms where those features are available.

--
greg

В списке pgsql-patches по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [HACKERS] regexp_replace
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: using strxfrm for having multi locale/please vote for