pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma

pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma

pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma

pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma

pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma

pgsql: Add stack-overflow guards in set-operation planning.

2018-01-28 Thread Tom Lane
Add stack-overflow guards in set-operation planning. create_plan_recurse lacked any stack depth check. This is not per our normal coding rules, but I'd supposed it was safe because earlier planner processing is more complex and presumably should eat more stack. But bug #15033 from Andrew Grossma