pgsql-server/src/backend executor/Tag: executo ...
pgsql-server/src/backend executor/Tag: executo ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 03/11/25 15:17:59 Modified files: src/backend/executor: Tag: REL7_4_STABLE nodeHashjoin.c src/backend/optimizer/plan: Tag: REL7_4_STABLE createplan.c Log message: Band-aid solution for problems with SubPlans used in hash join clauses, per report from Andrew Holm-Hansen. The difficulty arises from the fact that the planner allowed a Hash node's hashkeys to share substructure with the parent HashJoin node's hashclauses, plus some rather bizarre choices about who initializes what during executor startup. A cleaner but more invasive solution is to not store hashkeys separately in the plan tree at all, but let the HashJoin node deconstruct hashclauses during executor startup. I plan to fix it that way in HEAD.