]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit931e3094025b6036a995627a9c8e48b261226b26
treeeff3a9e27159a228fd663221ff13c7f572752023
parent8c2fca17d83a154c65ce364ba862125a1e47a054
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