Re: Basic Requirements for SQL Window Functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Basic Requirements for SQL Window Functions
Дата
Msg-id 19224.1101746473@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Basic Requirements for SQL Window Functions  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> The SQL window functions seem to require an ordering for most of their
> operations.

AFAICS, the entire concept of a "window" implies the input is ordered
in some way; what operations would they provide that don't require this?

> It is possible that that could be provided by a sort node in
> the execution plan.

Either sort or indexscan, but you'd certainly need one or the other.
        regards, tom lane


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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: Documentation on PITR still scarce
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Stopgap solution for table-size-estimate updatingproblem