Re: BUG #1129: select query returns multiple results for a japanese characters - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1129: select query returns multiple results for a japanese characters
Date
Msg-id 26793.1081366341@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1129: select query returns multiple results for a japanese characters  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> 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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sequential Scan Index Bug
Next
From: Pavel Stehule
Date:
Subject: problem with Npgsql UNICODE <-> Latin2