Re: [HACKERS] Fixing the Turkish problem

2004-05-28 Thread Devrim GUNDUZ
Hi, On Sun, 23 May 2004, Tom Lane wrote: > > However, we still fail to sort small I (i dotless) and i. "i dotless" > > comes before i in Turkish Alphabet, but ORDER BY sorts i before "i > > dotless". > > For that, you have to complain to your locale's designer. We just do > what strcoll tell

Re: [HACKERS] Fixing the Turkish problem

2004-05-23 Thread Tom Lane
Devrim GUNDUZ <[EMAIL PROTECTED]> writes: > However, we still fail to sort small I (i dotless) and i. "i dotless" > comes before i in Turkish Alphabet, but ORDER BY sorts i before "i > dotless". For that, you have to complain to your locale's designer. We just do what strcoll tells us to.

Re: [HACKERS] Fixing the Turkish problem

2004-05-23 Thread Devrim GUNDUZ
Hi, On Sun, 23 May 2004, Tom Lane wrote: > >> "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.) >

Re: [HACKERS] Fixing the Turkish problem

2004-05-23 Thread Tom Lane
Devrim GUNDUZ <[EMAIL PROTECTED]> writes: > On Thu, 6 May 2004, Tom Lane wrote: >> 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'

Re: [HACKERS] Fixing the Turkish problem

2004-05-23 Thread Devrim GUNDUZ
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! > AFAICS the remaining problem is that there are a bunch of places that > use strcasecmp() or strncasecmp() to match inputs agai

Fw: [HACKERS] Fixing the Turkish problem

2004-05-06 Thread Ismail Kizir
- Original Message - From: "Ismail Kizir" <[EMAIL PROTECTED]> To: "Tom Lane" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 2:22 AM Subject: Re: [HACKERS] Fixing the Turkish problem > Tom, > > Thank you very much for turkish locale fix. >

[HACKERS] Fixing the Turkish problem

2004-05-06 Thread Tom Lane
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. What we presently have is that identifier and keyword downcasing is done without trusting tolower(): /* * SQL99 specifies Unicode-aware case normalization, which we don't ye