David Fetter <da...@fetter.org> writes: > I think what the OP was expecting was to have the last value be 3 > instead of changing. This is at least a POLA violation.
[ shrug... ] It's what the spec requires, as far as anybody here can tell. As Hitoshi-san already noted, we do point out in our docs that last_value is not too useful unless you use a nondefault window frame selection. I'm not sure what else we could do. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs