Re: using strxfrm for having multi locale/please vote for - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: using strxfrm for having multi locale/please vote for
Date
Msg-id 200506070211.j572BFa15491@candle.pha.pa.us
Whole thread Raw
In response to Re: using strxfrm for having multi locale/please vote for adding this function in contribution  (Greg Stark <gsstark@mit.edu>)
Responses Re: using strxfrm for having multi locale/please vote for
List pgsql-patches
Greg Stark wrote:
> 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 thought we were willing to require the library for multi-locale
builds.

> 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.

There are some things I think ICU can fix for us like indexing non-C
localed columns.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Greg Stark
Date:
Subject: Re: using strxfrm for having multi locale/please vote for adding this function in contribution
Next
From: Tom Lane
Date:
Subject: Re: Implement support for TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL