Get rid of hashkeys field of Hash plan node, since it's redundant with
Tom Lane <tgl@sss.pgh.pa.us>
Get rid of hashkeys field of Hash plan node, since it's redundant with the hashclauses field of the parent HashJoin. This avoids problems with duplicated links to SubPlans in hash clauses, as per report from Andrew Holm-Hansen.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeHash.c | modified | +2 −1 |
| src/backend/executor/nodeHashjoin.c | modified | +20 −19 |
| src/backend/nodes/copyfuncs.c | modified | +1 −2 |
| src/backend/nodes/outfuncs.c | modified | +1 −3 |
| src/backend/optimizer/plan/createplan.c | modified | +3 −15 |
| src/backend/optimizer/plan/setrefs.c | modified | +1 −19 |
| src/backend/optimizer/plan/subselect.c | modified | +1 −5 |
| src/include/nodes/plannodes.h | modified | +2 −2 |