Re: ORDER BY on INTERSECT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: xsplich(at)fi(dot)muni(dot)cz, pgsql-bugs(at)postgresql(dot)org
Subject: Re: ORDER BY on INTERSECT
Date: 2000-10-14 16:42:55
Message-ID: 2600.971541775@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> SELECT id from questions where id < 40 intersect select id from questions where id > 20 order by id;
> ERROR: get_sortgroupclause_tle: ORDER/GROUP BY expression not found in targetlist

Already fixed in current sources, but thanks for the report.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2000-10-14 21:21:30 ResultSet.getTimestamp() was broken
Previous Message Stephan Szabo 2000-10-14 15:55:34 Re: PostgreSQL BugTool Submission