possible 7.1beta3 bug with union and order by a function - Mailing list pgsql-bugs

From Bruno Wolff III
Subject possible 7.1beta3 bug with union and order by a function
Date
Msg-id 20010110013423.A28293@wolff.to
Whole thread Raw
Responses Re: possible 7.1beta3 bug with union and order by a function
List pgsql-bugs
The query below used to work with 7.0.3. If I change 'lower(title)' to
'title' in the order by clause, then the query is accepted.

area=> select code, wbc.gameid, title from games, wbc where wbc.gameid = games.gameid union select code, null, null as
titlefrom wbc where gameid is null order by code, lower(title); 
ERROR:  Attribute 'title' not found

pgsql-bugs by date:

Previous
From: Bruno Wolff III
Date:
Subject: to_char appears fixed in 7.1beta3
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: JDBC Connection must be restarted after executing SQL statement that calls a PL/PGSQL function that won't compile