Rod Taylor <rbt(at)zort(dot)ca> writes:
> The big difference is that the INNER JOIN code needs to drop one of the
> colb's coming up with a virtual relation cola, colb, colc; where the
> other doesn't have such a renaming scheme.
On reflection I think it might be possible to make this work the way
Tim wants: I think it would be okay for the dependency-extracter code
to ignore the Var lists that are attached to join RTEs. Needs more
thought though, and I don't plan to think about it before Monday;
I'm taking the weekend off ...
regards, tom lane