Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
>> Why does set_recursion_pathlist think that the subquery might have
>> useful pathkeys? We know it must always be a UNION ALL, no?
> Right. But someday we might implement "UNION" (without ALL) then we
> have useful pathkeys...
Good point. Might as well leave it in.
regards, tom lane