I wrote:
> Robert Haas writes:
>> I'm a little mystified by exec_simple_check_node().
>> ...
>> Did that, possibly, remove the last way in which a simple expression
>> could be could become non-simple? If so, between that and the new
>> hasTargetSRFs test, it might now be
Robert Haas writes:
> I'm a little mystified by exec_simple_check_node().
> ...
> Did that, possibly, remove the last way in which a simple expression
> could be could become non-simple? If so, between that and the new
> hasTargetSRFs test, it might now be impossible for
>
I'm a little mystified by exec_simple_check_node(). The regression
tests seem not to exercise it. It can only be reached when
exec_simple_recheck_plan() finds no other reason to reject the plan,
and the only case it seems to reject is the one where there's a
set-returning function buried in