Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 22nd, 2005, 08:49 AM
mirela
Guest
 
Posts: n/a
Default Incorrect Results From Select When Using Non-English Characters

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.


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match




  #2  
Old November 22nd, 2005, 08:49 AM
Tom Lane
Guest
 
Posts: n/a
Default Re: Incorrect Results From Select When Using Non-English Characters

mirela <mirela@modelity.com> writes:[color=blue]
> However, the following select retrieves all Hebrew values with the same
> number of characters:
> select * from table where column='Hebrew value';[/color]

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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.