Oct 2026

2 commits
Clear more substructure of a dead relation during join removal.
14 Oct 2026Tom LanemasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

The supplied diff and git show contain only the TABLESAMPLE cleanup from #6, with expanded comments and reordered assignment in analyzejoins.c; the listed backport 91b1872ff2 also contains its securityQuals fix. Neither includes the regression tests, whose omission Tom explains in #7.

  • Tom Lanesaw the final versiontrailerTom discussed the original TABLESAMPLE bug in #3, then committed the revised cleanup and explained omitting its tests in #7.
Delay qp_callback processing till after join removal.
13 Oct 2026Tom LanemasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The commit exactly matches the two planmain.c hunks in #4, moving qp_callback below join removal; only the base and hunk offsets differ.

  • shihao zhongsaw the final versiontrailerIn #5, shihao preferred Tom's approach, reported successful fuzz testing of 2200 self-join queries and tests on both stable branches, and confirmed that the separate TABLESAMPLE assertion remained.

Credits across 2 commits

Author
shihao zhong1
Tom Lane1
Reviewer
shihao zhong1
Tom Lane1
Reported by
shihao zhong1
Committer
Tom Lane2