Thread: pgsql: Ensure that the phrels sets of PlaceHolderVars appearing in an

pgsql: Ensure that the phrels sets of PlaceHolderVars appearing in an

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Ensure that the phrels sets of PlaceHolderVars appearing in an AppendRelInfo's
translated_vars list get updated when pulling up an appendrel member.  It's
not clear that this really matters at present, since relatively little gets
done with the outputs of an appendrel child relation; but it probably will
come back to bite us sometime if we leave them with the wrong values.

Modified Files:
--------------
    pgsql/src/backend/optimizer/prep:
        prepjointree.c (r1.59 -> r1.60)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepjointree.c?r1=1.59&r2=1.60)