Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 027981337B67 for ; Tue, 12 Apr 2011 20:20:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 42472-02 for ; Tue, 12 Apr 2011 23:20:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 91E131337B4E for ; Tue, 12 Apr 2011 20:20:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3CNKiBt019193; Tue, 12 Apr 2011 19:20:46 -0400 (EDT) To: "Rikard Pavelic" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5970: intersect and collation on types In-reply-to: <201104101925.p3AJPfgp052349@wwwmaster.postgresql.org> References: <201104101925.p3AJPfgp052349@wwwmaster.postgresql.org> Comments: In-reply-to "Rikard Pavelic" message dated "Sun, 10 Apr 2011 19:25:41 +0000" Date: Tue, 12 Apr 2011 19:20:44 -0400 Message-ID: <19192.1302650444@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/61 X-Sequence-Number: 29980 "Rikard Pavelic" 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