pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5970: intersect and collation on types
2+ messages / 2 participants
[nested] [flat]

* BUG #5970: intersect and collation on types
@ 2011-04-10 19:25 Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
  2011-04-12 23:20 ` Re: BUG #5970: intersect and collation on types Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Rikard Pavelic @ 2011-04-10 19:25 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5970
Logged by:          Rikard Pavelic
Email address:      rikard.pavelic@zg.htnet.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;



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #5970: intersect and collation on types
  2011-04-10 19:25 BUG #5970: intersect and collation on types Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
@ 2011-04-12 23:20 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-04-12 23:20 UTC (permalink / raw)
  To: Rikard Pavelic <rikard.pavelic@zg.htnet.hr>; +Cc: pgsql-bugs

"Rikard Pavelic" <rikard.pavelic@zg.htnet.hr> writes:
> The following bug has been logged online:

> Bug reference:      5970
> Logged by:          Rikard Pavelic
> Email address:      rikard.pavelic@zg.htnet.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-04-12 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-10 19:25 BUG #5970: intersect and collation on types Rikard Pavelic <rikard.pavelic@zg.htnet.hr>
2011-04-12 23:20 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox