BUG #1996: DISTINCT fails with national character varying

From: "Ludmil Tinkov" <ludmil(at)fyrex(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1996: DISTINCT fails with national character varying
Date: 2005-10-24 21:22:13
Message-ID: 20051024212213.3802BF1141@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1996
Logged by: Ludmil Tinkov
Email address: ludmil(at)fyrex(dot)com
PostgreSQL version: 7.3.2
Operating system: RedHat 9.0
Description: DISTINCT fails with national character varying
Details:

create table depression(ID int, name national character varying(50))

insert into depression values(1, '');
insert into depression values(2, '');
insert into depression values(3, '');
insert into depression values(4, '');

select distinct name from depression

--the last statement returns only a single row
--namely:
--it should return 4 rows!

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Russell Smith 2005-10-24 22:51:59 Re: BUG #1993: Adding/subtracting negative time intervals
Previous Message Magnus Hagander 2005-10-24 21:17:22 Re: BUG #1990: Installer bug fails to make C:\program files..global