Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom, do we have a TODO item here?
I'm not excited about it; it seems a weird case and there's a simple
query change to get the right thing to happen. AFAICS we'd have to
expend a lot of planner cycles to detect this case, and most of the
time those cycles would be wasted.
regards, tom lane