problems with char 247 - Mailing list pgsql-general

From Ben-Nes Michael
Subject problems with char 247
Date
Msg-id 006601c2660c$bb6515c0$aa0f5ac2@canaan.co.il
Whole thread Raw
List pgsql-general
Hi All

My db is in hebrew and i have problems to select using regex where the word
end with ascii char 247.

This work, but it dont distinguis between whole word and partial:
SELECT l_name from links where l_name ilike '%צדק%';

This dont work, return nothing.
SELECT l_name from links where l_name ~* '[[:<:]](צדק)[[:>:]]';

If i drop the 'ק' ( char 247 ) i get the list as i suppose to be with the
'ק'.
SELECT l_name from links where l_name ~* '[[:<:]](צד)[[:>:]]';

This are the chars searched for:
צ - 246
ד - 227
ק - 247

Any idea ?


pgsql-general by date:

Previous
From: Andriy Tkachuk
Date:
Subject: Re: query speed depends on lifetime of frozen db?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: query speed depends on lifetime of frozen db?