Re: BUG #1695: "select distinct" makes different output

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "philip" <philipguo(at)yahoo(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1695: "select distinct" makes different output
Date: 2005-06-01 15:18:30
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7597@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> The following bug has been logged online:
>
> Bug reference: 1695
> Logged by: philip
> Email address: philipguo(at)yahoo(dot)com
> PostgreSQL version: 8.0.3
> Operating system: MS Windows XP sp1 and Linux Fedora core 3
> Description: "select distinct" makes different output
> Details:
>
> Hi there,
>
> I installed PostgreSQL 8.0.3 database system on both
> platforms MS Windows XP
> (sp1) and Linux Fedora 3, and both databse settings are
> exactly the same with the encoding set to 'UNICODE'. Both
> database systems are running well except one thing so far has
> the different results from those two databases.
> Here is a query as the example:
>
> select distinct area from ht_booking.hotels;
>
> The result from the database on Linux FC3 has no problem but
> the one on Windows XP. The data output from the later have
> the duplicated rows. It seems to make no difference with or
> without "distinct" key word. BUT, this happens only under one
> condition: the data in that column contains chinese characters.
>
> Please feel free to question me if there is anything I can
> do to help with.
> Thank you.

Whare are your database encoding and locale in the two different
installations?

//Magnus

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-06-01 15:36:04 Re: BUG #1695: "select distinct" makes different output
Previous Message Marco Sfriso 2005-06-01 14:16:32 BUG #1696: Error Installation of PostgreSQL 8.0.2 on NT4