Thread: pgsql/src/backend/executor Tag: REL7_1_STABLE ...

pgsql/src/backend/executor Tag: REL7_1_STABLE ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/05/08 15:48:02

Modified files:
    src/backend/executor: Tag: REL7_1_STABLE nodeAppend.c
                          nodeSubqueryscan.c

Log message:
    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 :-(