Skip site navigation (1) Skip section navigation (2)

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

From: Mahmoud Taghizadeh <m_taghi(at)yahoo(dot)com>
To: 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
Cc: pgsql-patches(at)postgresql(dot)org
Subject: using strxfrm for having multi locale/please vote for adding this function in contribution
Date: 2005-02-05 08:11:25
Message-ID: 20050205081125.77734.qmail@web50706.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-patches
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'

Attachment: nls_sort.tgz
Description: application/x-compressed (2.9 KB)

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-02-05 16:43:46
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Previous:From: Bruce MomjianDate: 2005-02-05 01:05:15
Subject: Re: libpq API incompatibility between 7.4 and 8.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group