Re: Avoid extra Sort nodes between WindowAggs when sorting can be reused

Andrew Gierth <andrew@tao11.riddles.org.uk>

From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Masahiko Sawada <sawada.mshk@gmail.com>, Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2018-09-14T16:38:28Z
Lists: pgsql-hackers
 >> Here's what I have queued up to push.

 Daniel> LGTM, thanks!

Committed.

Many thanks for the contribution, and thanks to the reviewers for their
work.

-- 
Andrew (irc:RhodiumToad)


Commits

  1. Order active window clauses for greater reuse of Sort nodes.