]> granicus.if.org Git - postgresql/commit
Append and SubqueryScan nodes were not passing changed-parameter signals down
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 May 2001 19:47:02 +0000 (19:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 May 2001 19:47:02 +0000 (19:47 +0000)
commit5708a56729dcf4d75feb6cdb8c9ffb45147738e9
tree22c2b62d1e0fc5117780de826d154bb7bd424e31
parentc3fa600d8cb773d032f199990455eaab0ead5c0c
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