Append and SubqueryScan nodes were not passing changed-parameter signals down
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 May 2001 19:48:02 +0000 (19:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 May 2001 19:48:02 +0000 (19:48 +0000)
commit20c6dc907df0bcf645ca62d062d1d7622f28def7
tree3fa5f8bf2e3a1fa8c2cce77ec852a276565b4c1c
parent7ecacae97be35f23c9934932ffc379934d2764ad
Append and SubqueryScan nodes were not passing changed-parameter signals down
to their children, leading to misbehavior if they had any children that paid
attention to chgParam (most plan node types don't).  Append's bug has been
there a long time, but nobody had noticed because it used to be difficult
to create a query where an Append would be used below the top level of a
plan; so there were never any parameters getting passed down.  SubqueryScan
is new in 7.1 ... and I'd modeled its behavior on Append :-(
src/backend/executor/nodeAppend.c
src/backend/executor/nodeSubqueryscan.c