possible 7.1beta3 bug with union and order by a function

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема possible 7.1beta3 bug with union and order by a function
Дата
Msg-id 20010110013423.A28293@wolff.to
обсуждение исходный текст
Ответы Re: possible 7.1beta3 bug with union and order by a function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: to_char appears fixed in 7.1beta3
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: JDBC Connection must be restarted after executing SQL statement that calls a PL/PGSQL function that won't compile