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>
Cc: 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-07 04:36:32
Message-ID: 29228.1157603792@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-tr-genel

Victor Snezhko <snezhko(at)indorsoft(dot)ru> writes:
> But... maybe I misunderstand something fundamental, but should isspace
> work when we pass one byte of multibyte character?

Yes, it should, because we only allow ASCII-superset encodings inside
the backend. That is, characters that actually occupy multiple bytes
must have the high bit set in each such byte, and we expect that
isspace, isdigit, etc will not return true for any such byte.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Nimesh Satam 2006-09-07 10:31:34 Template0 age is increasing speedily.
Previous Message Victor Snezhko 2006-09-07 04:32:39 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale

Browse pgsql-tr-genel by date

  From Date Subject
Next Message Volkan YAZICI 2006-09-07 07:07:38 Re: Cursor ve Subselect yada Join...
Previous Message Victor Snezhko 2006-09-07 04:32:39 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale