"Joshua D. Drake" <j...@commandprompt.com> writes: > I believe the goal should be correctness but why not both? Fix what we > can and put in place a "work around" that would be removed in 8.5?
Why not both what? The driving concern here is that there might be third-party aggregates that will dump core if invoked as window functions, and there is simply not anything we can do to prevent that. Short of refusing to call them at all, which strikes me as an extreme overreaction since most of them can be expected to work fine. (In particular, if we went with solution #1 then *all* the ones that were playing by the documented rules would still work.) Also, there is no such thing as "a workaround we can remove in 8.5". If we put in something like a "safe as window function" attribute for CREATE AGGREGATE, we'll have to support it till the end of time. 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