David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> writes:
> I've attached a version without outer unique.
I looked through this a bit, and the first thing I noticed was it doesn't
touch costsize.c at all. That seems pretty wrong; it's little help to
have a performance improvement if the planner won't pick the right plan
type. There were costsize.c changes in there back in April; what happened
to them?
regards, tom lane