Nov 2026

1 commit
Don't pfree a Path that belongs to a different parent relation.
21 Nov 2026Tom LanemasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedAlso in: BUG #19924: unrecognized node type in create_plan_recurse: UNION, LIMIT, json_populate_recordset, inheritance (modified before commit)
LLM analysis, 96% surepart of a posted patchsetlight changesfrom patchset #51 of 1 reviewer saw the final version

The commit retains all four parent-relation guards from #5 in src/backend/optimizer/util/pathnode.c, edits comments, and omits the planner.c comment and regression-test patch. Although thread #259559 has a later overlapping attachment and claims the commit, its described attachment covers only add_partial_path(); Tom Lane explicitly says in #6 that he committed this thread's revised fix, supporting attribution here and disagreement with that thread's verdict.

  • Tom Lanesaw the final versiontrailerAs committer, he reviewed the final fix and explained his comment edits and rejection of brittle regression tests in #6.

Credits across 1 commit

Author
Jeevan Chalke1
Reviewer
Tom Lane1
Reported by
Jeevan Chalke1
Zheng Hacker1
Committer
Tom Lane1