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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Snezhko <snezhko@indorsoft.ru>
Cc: Volkan YAZICI <yazicivo@ttnet.net.tr>, pgsql-bugs@postgresql.org
Date: 2006-09-06T13:31:35Z
Lists: 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