Re: Cumulative (Running) Sum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cumulative (Running) Sum
Дата
Msg-id 5945.1205004787@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Cumulative (Running) Sum  (Matt Culbreth <mattculbreth@gmail.com>)
Список pgsql-general
Matt Culbreth <mattculbreth@gmail.com> writes:
> I might have missed this somewhere, but PostgreSQL doesn't presently
> support the cumulative/running aggregate function SUM() OVER
> (PARTITION BY) syntax that Oracle does, right?

Right.  There are people interested in this, and it'll likely show up in
8.4 or later, but it doesn't exist now.

(What's actually on the road map is the SQL:2003 windowing functions.
I'm not sure the spec is exactly compatible with Oracle, but it
definitely has this type of functionality.)

            regards, tom lane

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

Предыдущее
От: Colin Fox
Дата:
Сообщение: Re: ER Diagram design tools (Linux)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cache lookup failed for relation X