Extend whole-row Var evaluation to cope with the case that the sub-plan

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

Commit: 68e40998d058c1f6662800a648ff1e1ce5d99cba
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-31T18:33:40Z
Releases: 8.3.0
Extend whole-row Var evaluation to cope with the case that the sub-plan
generating the tuples has resjunk output columns.  This is not possible for
simple table scans but can happen when evaluating a whole-row Var for a view.
Per example from Patryk Kordylewski.  The problem exists back to 8.0 but
I'm not going to risk back-patching further than 8.2 because of the many
changes in this area.

Files

PathChange+/−
src/backend/executor/execQual.c modified +76 −5