On Thu, 2005-12-15 at 09:25 -0500, Tom Lane wrote:
> I did find some papers that talked about ways to push joins up and down
> past aggregations and GROUP BY, but that's a problem for another day.
Yes, they seem like a good thing to get round to... the papers seem to
present them as fairly clear transformations. I'd be interested if you
get the chance to look at that.
Best Regards, Simon Riggs