BUG #5018: Window function alias

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема BUG #5018: Window function alias
Дата
Msg-id 200908271122.n7RBM2Cs083448@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5018: Window function alias  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5018
Logged by:          Marko Tiikkaja
Email address:      marko.tiikkaja@cs.helsinki.fi
PostgreSQL version: 8.4.0
Operating system:   Linux
Description:        Window function alias
Details:

I came across this:

=> SELECT lead(foo) OVER(ORDER BY foo) AS foo FROM (VALUES(0)) bar(foo);
ERROR:  window functions not allowed in window definition

Changing the *column alias* to something else gives the expected answer. Is
this really the desired behaviour?

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #5008: Server Startup Problem - When server is configured for SSL
Следующее
От: Ashesh Vashi
Дата:
Сообщение: Re: BUG #5015: MySQL migration wizard does not start