Re: BUG #1931: ILIKE and LIKE fails on Turkish locale - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Date
Msg-id 29228.1157603792@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1931: ILIKE and LIKE fails on Turkish locale  (Victor Snezhko <snezhko@indorsoft.ru>)
List pgsql-bugs
Victor Snezhko <snezhko@indorsoft.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

pgsql-bugs by date:

Previous
From: Victor Snezhko
Date:
Subject: Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Next
From: "Joek Hondius"
Date:
Subject: BUG #2609: server crash at 182 connections still alive.