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-07T04:36:32Z
Lists: 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