Re: Fixing the Turkish problem

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fixing the Turkish problem
Date: 2004-05-23 16:58:20
Message-ID: Pine.LNX.4.44.0405130155440.32062-100000@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,

On Thu, 6 May 2004, Tom Lane wrote:

> We're sort of halfway there on coping with the Turkish-locale i-vs-I
> problem. I'd like to finish the job for 7.5.

Cool!

<snip>
> AFAICS the remaining problem is that there are a bunch of places that
> use strcasecmp() or strncasecmp() to match inputs against locally known
> keywords (such as datestyle or timezone names). We need to make a
> variant version of strcasecmp that uses this same style of case-folding.
>
> What I'm thinking of doing is inventing "pg_strcasecmp" and
> "pg_strncasecmp" that act like the above and replacing all calls of the
> standard library functions with these.

If you can post all the patches you'd like to apply, I'd be happy to test
them. (Sorry for the very late response, btw.)

Regards,

--
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.TDMSoft.com
http://www.gunduz.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-05-23 17:18:41 Re: Fixing the Turkish problem
Previous Message Matthew T. O'Connor 2004-05-23 16:38:02