Use outerPlanState macro instead of referring to leffttree.

Robert Haas <rhaas@postgresql.org>

Commit: 40f42d2a34329b0b71a1287d6fd2554298dbb713
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-05-04T20:17:36Z
Releases: 9.5.0
Use outerPlanState macro instead of referring to leffttree.

This makes the executor code more consistent.  It also removes
an apparently superfluous NULL test in nodeGroup.c.

Qingqing Zhou, reviewed by Tom Lane, and further revised by me.

Files