Extend whole-row Var evaluation to cope with the case that the sub-plan
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2007 18:33:47 +0000 (18:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2007 18:33:47 +0000 (18:33 +0000)
commit9b1d3d99fc2d0b0dedafff81245b4d9d0ca6c67d
tree16bc504ef2a4ae15926c000d39c86ab5989e288e
parentd8bedc18e2a96ee74c5321604df85288cf89c50f
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.
src/backend/executor/execQual.c