]> granicus.if.org Git - postgresql/commit
Fix another problem in 8.2 changes that allowed "one-time" qual conditions to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Feb 2007 03:49:04 +0000 (03:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Feb 2007 03:49:04 +0000 (03:49 +0000)
commit7ea758b0b1e51fd5796f3d599b144e796586d6e8
tree5d50ce7920172d6d3b0d860f0bf6ae8a51875f2a
parent4ebb0cf9c30c1e477d5e2dfcc1f2c016c3f8bbcf
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.
src/backend/executor/nodeResult.c
src/backend/optimizer/plan/setrefs.c