Re: BUG #5970: intersect and collation on types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rikard Pavelic" <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5970: intersect and collation on types
Date: 2011-04-12 23:20:44
Message-ID: 19192.1302650444@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Rikard Pavelic" <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr> writes:
> The following bug has been logged online:

> Bug reference: 5970
> Logged by: Rikard Pavelic
> Email address: rikard(dot)pavelic(at)zg(dot)htnet(dot)hr
> PostgreSQL version: 9.1.alpha5
> Operating system: Windows XP SP3
> Description: intersect and collation on types
> Details:

> create table test_collation (id int, name varchar);
> insert into test_collation values (1, 'abc'), (2,'bcd');

> --works
> select * from test_collation tc
> intersect
> select * from test_collation tc;

> --doesn't work
> select tc from test_collation tc
> intersect
> select tc from test_collation tc;

Fixed in HEAD. Thanks for the report!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2011-04-12 23:26:29 Re: BUG #5973: erreur SERIAL 4
Previous Message Shianmiin 2011-04-12 23:09:21 Re: PostgreSQL backend process high memory usage issue