Re: BUG #1931: ILIKE and LIKE fails on Turkish locale

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Victor Snezhko <snezhko(at)indorsoft(dot)ru>, Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Date: 2006-09-22 21:41:53
Message-ID: 28724.1158961313@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-tr-genel

I wrote:
> ... I think we need convert_ident to
> use a plpgsql_isspace() that accepts these and only these as spaces.
> Any high-bit-set byte is part of an identifier according to scan.l's
> rules, and convert_ident must have the same behavior regardless of locale.

> There may be related risks in and around the other flex scanners
> ... will look.

I've committed a fix along these lines. ecpg had the identical bug, but
I couldn't find any other places where we seemed to be assuming that
<ctype.h> macros would match the behavior of our flex scanners.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Victor Snezhko 2006-09-23 07:20:48 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Previous Message Willa Wei 2006-09-22 19:34:10 BUG #2646: Installation Failed due to Permissions

Browse pgsql-tr-genel by date

  From Date Subject
Next Message Victor Snezhko 2006-09-23 07:20:48 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Previous Message Tom Lane 2006-09-22 18:19:18 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale