Dec 2022

2 commits
Add missing MaterialPath support in reparameterize_path[_by_child].
4 Dec 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit preserves the MaterialPath hunk from #1 and adds Material support to reparameterize_path(), including Richard Guo's NULL check from #5, plus a comment clarification in src/backend/optimizer/util/pathnode.c. The commit credits both Tom Lane, the attachment's author, and Richard Guo.

  • Ashutosh Bapatsaw an earlier versionLLM analysis, 99% sureAshutosh examined the supported-path assumptions and said the patch looked good in #3, before the additional reparameterize_path() implementation supplied in #4 and #5.
Fix generate_partitionwise_join_paths() to tolerate failure.
4 Dec 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7REL_13_STABLE13.10+2 more
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The attached patch changes only pathnode.c, whereas this commit changes generate_partitionwise_join_paths() in src/backend/optimizer/path/allpaths.c to abandon partitionwise joining when a child has no paths. It implements Tom Lane's fallback proposal in #6, and he explicitly identifies the resulting commit in #8.

  • Richard Guosaw the final versionLLM analysis, 96% sureRichard reproduced the reported planning failure on HEAD with a TABLESAMPLE and LATERAL test in #2, which the commit explicitly credits as the test case establishing the need for the fix.

Credits across 2 commits

Author
Tom LaneLLM1
Committer
Tom Lane2

N LLM means N of the credits come from LLM analysis, not from commit trailers.