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 1410.1158943730@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
Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
List pgsql-bugs
Victor Snezhko <snezhko@indorsoft.ru> writes:
> Hmm, there was something wrong in my utf-8 cluster setup, I
> re-attached it and now see that isspace indeed fails:
> LOG:  plpgsql_convert_ident: ident=È, isspace array=ft, isspace(0)=f

Hm.  Given that we've not seen this reported elsewhere, I wonder if we
shouldn't conclude that it's a FreeBSD bug.

We could fix the problem by not using isspace() but some homegrown
equivalent ... but that seems a tad ugly, especially if it's to work
around a problem on just one locale on one platform.  Can anyone else
check the result of isspace(0x85) ?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Christoph Zwerschke
Date:
Subject: Re: BUG #2642: Connection problems without IPv6
Next
From: Victor Snezhko
Date:
Subject: Re: BUG #1931: ILIKE and LIKE fails on Turkish locale