Fix another problem in 8.2 changes that allowed "one-time" qual conditions to

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

Commit: 7ea758b0b1e51fd5796f3d599b144e796586d6e8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-02-16T03:49:04Z
Releases: 8.3.0
Fix another problem in 8.2 changes that allowed "one-time" qual conditions to
be checked at plan levels below the top; namely, we have to allow for Result
nodes inserted just above a nestloop inner indexscan.  Should think about
using the general Param mechanism to pass down outer-relation variables, but
for the moment we need a back-patchable solution.  Per report from Phil Frost.

Files

PathChange+/−
src/backend/executor/nodeResult.c modified +8 −6
src/backend/optimizer/plan/setrefs.c modified +9 −1