Re: using strxfrm for having multi locale/please vote for

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Mahmoud Taghizadeh <m_taghi(at)yahoo(dot)com>, peter_e(at)gmx(dot)net, db(at)zigo(dot)dhs(dot)org, mail(at)joeconway(dot)com, sszabo(at)megazone(dot)bigpanda(dot)com, pgsql-patches(at)postgresql(dot)org
Subject: Re: using strxfrm for having multi locale/please vote for
Date: 2005-06-07 02:11:15
Message-ID: 200506070211.j572BFa15491@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Greg Stark wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-06-07 02:28:13 Should *.backup files ever be removed from pg_xlog?
Previous Message Greg Stark 2005-06-07 02:02:55 Re: using strxfrm for having multi locale/please vote for adding this function in contribution