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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mahmoud Taghizadeh <m_taghi(at)yahoo(dot)com>
Cc: peter_e(at)gmx(dot)net, gsstark(at)mit(dot)edu, 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-06 23:59:18
Message-ID: 200506062359.j56NxJk19669@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


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.

---------------------------------------------------------------------------

Mahmoud Taghizadeh wrote:
> there was a discussion in postgresql mailing list about using strxfrm function to add support multi locale.
> most of developers agree that this method is a correct but not perfect solution for having multiple locale in postgresql and some people suggest to add such functions in contribution.
>
> the main problem of such functions is the overhead of setlocale. (that can be ommited when you run postgresql in a OS with advanced GLIBC and strxfrm_l function)
>
> I summerized discussion and add one implementation of such functions, I try to convince tom lane to add this function to the contribution but I failed.
>
> maybe you are not interested to this subject but I kindly ask you to say your idea in list.
> please tell clearly that you are agree/disagree for add this function in contribution or not.
>
>
> I am thankful in advance.
>
>
>
>
> With Regards,
> --taghi
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'

Content-Description: nls_sort.tgz

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
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 00:02:59 Re: again: add collation support function
Previous Message Pavel Stehule 2005-06-06 23:08:35 Function's LEAST, GREATEST and DECODE (Oracle vararg polymorphic functions)