using window functions

Поиск
Список
Период
Сортировка
От Daniel Manesajian
Тема using window functions
Дата
Msg-id BAY110-W19D3CC1AEA8D4025EFABC5B0980@phx.gbl
обсуждение исходный текст
Ответы Re: using window functions
Re: using window functions
Список pgsql-general
Hi,
 
I'm trying to get an advance taste of the window function feature that I believe is supposed to be in 8.4. I'm running 8.4devel snapshot (dated Jan-01 which seems kind of old) grabbed from the snapshot page on the postgresql website.
 
When I try a simple query "select avg(my_int) over (order by my_int rows unbounded preceding) order by 1;" I get an error:
 
ERROR:  syntax error at or near "over"
 
Do I have to build from source to try window functions?
 
Thank you,
 
Daniel


Windows Live™: Keep your life in sync. Check it out.

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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Postgres 8.2.x support on Windows 2008
Следующее
От: Tom Lane
Дата:
Сообщение: Re: using window functions