"Pavel Stehule" <pavel.steh...@gmail.com> writes: > I didn't expect so ORDER can change result of function sum.
Read the stuff about window frames. The results you show are exactly per spec. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers