Re: Use outerPlanState macro instead of referring to leffttree

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-07-07T15:25:19Z
Lists: pgsql-hackers
Richard Guo <guofenglinux@gmail.com> writes:
> Update the patch to include changes about righttree. But this doesn't
> include changes for edge case usages. (A rough look through shows to me
> that the current usages should be able to be covered by tests.)

I found a couple other places by grepping, and adjusted those too.
Pushed.

			regards, tom lane



Commits

  1. Remove stray references to lefttree/righttree in the executor.

  2. Use outerPlanState macro instead of referring to leffttree.