Incorrect Results From Select When Using Non-English Characters

Started by mirelaabout 22 years ago2 messagesgeneral
Jump to latest
#1mirela
mirela@modelity.com

Hello,

I'm using RedHat 9 and PostgreSQL 7.3.4.
I have a table with a column of type varchar and length 250. This column
includes both English and Hebrew text values.

The following select statements work fine:
select * from table where column='English value';
select * from table where column like 'Hebrew value';

However, the following select retrieves all Hebrew values with the same
number of characters:
select * from table where column='Hebrew value';

Using the same PostgreSQL version under RedHat 7.3 works just fine.

Any help would be appreciated,
Mirela.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: mirela (#1)
Re: Incorrect Results From Select When Using Non-English Characters

mirela <mirela@modelity.com> writes:

However, the following select retrieves all Hebrew values with the same
number of characters:
select * from table where column='Hebrew value';

This is a bit hard to believe. Can you provide a self-contained test
case? How exactly did you obtain or build Postgres?

regards, tom lane