dbTalk Databases Forums  

[BUGS] BUG #1129: select query returns multiple results for a japanese characters

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1129: select query returns multiple results for a japanese characters in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1129: select query returns multiple results for a japanese characters - 04-07-2004 , 01:34 AM







The following bug has been logged online:

Bug reference: 1129
Logged by: prasvenk

Email address: prasvenk (AT) yahoo (DOT) com

PostgreSQL version: 7.4

Operating system: rehat linux 9

Description: select query returns multiple results for a japanese
characters

Details:

Hi,
I tried the following query on a windows 2000 machine with cywin and
postgres 7.4

select * from colour_master where colour_name='シンギン ';

this returned one row which is correct.

i passed the same query to a same database but on a linux machine with
postgres 7.4.2 it returned me around 5 rows which is not correct .

these are the rows which were returned.
オレンジ
もみじ赤
もみじ黄
赤土白地
シンギン

Any kind of help will the appreciable.

Thanks in advance.
Regards,
Prasvenk


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1129: select query returns multiple results for a japanese characters - 04-07-2004 , 02:44 PM






"PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org> writes:
Quote:
i passed the same query to a same database but on a linux machine with
postgres 7.4.2 it returned me around 5 rows which is not correct .
I'd guess that you are using the wrong character set encoding in the
Linux database. You did not say what encoding you think these strings
are in, but it seems possible that strings containing characters that
are illegal in the current encoding might be considered equal.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.