Clean up some mistakes in handling of uplevel Vars in planner.

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

Commit: 37d20eb8558607e18816849a0a3f3d941317dc13
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-08-26T05:09:06Z
Releases: 7.1.1
Clean up some mistakes in handling of uplevel Vars in planner.
Most parts of the planner should ignore, or indeed never even see, uplevel
Vars because they will be or have been replaced by Params.  There were a
couple of places that got it wrong though, probably my fault from recent
changes...

Files