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 7126.1157549495@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>)
Responses Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
List pgsql-bugs
Victor Snezhko <snezhko@indorsoft.ru> writes:
> Hmm, seems like plpgsql is also broken for multibyte encodings. it
> contains some single-byte ops, like the following:

>     while (*s && isspace((unsigned char) *s))
>         s++;
>     if (*s++ != '.')
>         elog(ERROR, "expected dot between identifiers: %s", sstart);

That code is not broken ... at least not unless isspace() is.

            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: Victor Snezhko
Date:
Subject: Re: BUG #1931: ILIKE and LIKE fails on Turkish locale