Re: [ADMIN] windown function count Unexpected results

Поиск
Список
Период
Сортировка
От winston cheung
Тема Re: [ADMIN] windown function count Unexpected results
Дата
Msg-id 13010b9e-7d51-c17a-1202-7cc084df7d9e@163.com
обсуждение исходный текст
Ответ на Re: [ADMIN] windown function count Unexpected results  (Steven Chang <stevenchang1213@gmail.com>)
Список pgsql-admin

thanks a lot,steven,david :-)

在 5/5/17 13:14, Steven Chang 写道:
Hello,

     Official document in https://www.postgresql.org/docs/9.3/static/functions-window.html says so   :
An aggregate used with ORDER BY and the default window frame definition produces a "running sum" type of behavior, which may or may not be what's wanted. To obtain aggregation over the whole partition, omit ORDER BY or use ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING

winston , regards

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

Предыдущее
От: Steven Chang
Дата:
Сообщение: Re: [ADMIN] windown function count Unexpected results
Следующее
От: "Klaus P. Pieper"
Дата:
Сообщение: [ADMIN] Windows installer initdb with --data-checksums