Re: windown function count Unexpected results

From: winston cheung <winston_cheung(at)163(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: windown function count Unexpected results
Date: 2017-05-05 11:10:04
Message-ID: 13010b9e-7d51-c17a-1202-7cc084df7d9e@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Klaus P. Pieper 2017-05-09 10:29:08 Windows installer initdb with --data-checksums
Previous Message Steven Chang 2017-05-05 05:14:30 Re: windown function count Unexpected results