Re: Aggregate ORDER BY patch

Greg Stark <gsstark@mit.edu>

From: Greg Stark <gsstark@mit.edu>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Hitoshi Harada <umi.tanuki@gmail.com>, pgsql-hackers@postgresql.org
Date: 2009-11-16T00:17:51Z
Lists: pgsql-hackers
On Sun, Nov 15, 2009 at 11:23 PM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
> Future performance enhancements (which I have no particular plans to
> tackle) would involve having the planner consult the desired aggregate
> orderings and estimating the cost of sorting as opposed to the cost of
> producing a plan with the input already ordered. Also combining the
> sort step for aggregates that share a single ordering.

Those both seem like pretty important things. Do you have an idea how
to go about doing them?


-- 
greg