Mar 2024

3 commits
Code review for 6190d828cd2
25 Mar 2024Amit Langotemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #331 of 1 reviewer saw the final version

The commit and #33 have identical stable patch IDs, covering the init_dummy_sjinfo() comment and consider_new_or_clause() conversion. The author is the patchset sender, Richard Guo.

  • Amit Langotesaw the final versioncommittercommitted the patch
Do not translate dummy SpecialJoinInfos for child joins
25 Mar 2024Amit Langotemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #302 of 4 reviewers saw the final version

Extracts the dummy-SpecialJoinInfo optimization from #30, including init_dummy_sjinfo(), its costsize.c callers, and the child-join translation bypass. Amit confirms the split in #31; this portion matches the submitted code.

  • Richard Guosaw the final versiontrailerAfter landing, Richard inspected the committed helper from #30 and supplied its comment correction and missing orclauses.c conversion in #33.
  • Amit Langotesaw the final versiontrailerAmit reviewed dummy handling and ownership, supplied the cleanup in #29, and reviewed the final version as committer in #31.
  • Andrey Lepikhovsaw an earlier versiontrailerPosting as Andrei Lepikhov, he reviewed #17 and discussed allocation responsibilities in #18 and #20, before the heap-allocation revision.
  • Tomas Vondrasaw an earlier versiontrailerTomas tested #17 with check-world and valgrind on amd64 and arm64 and proposed heap allocation in #21, before that allocation change was implemented.
Reduce memory used by partitionwise joins
25 Mar 2024Amit Langotemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #301 of 4 reviewers saw the final version

Extracts child-SpecialJoinInfo freeing and associated documentation from #30, leaving dummy initialization to the companion commit. Applying the submitted series to the commit's parent shows that the combined landing differs only in three comment blocks in joinrels.c and pathnodes.h.

  • Richard Guosaw an earlier versiontrailerRichard identified the unsafe freeing of shared outer-join bitmapsets in #2, reviewing #1 before dummy handling and heap allocation were added.
  • Amit Langotesaw the final versiontrailerAmit reviewed ownership comments and allocation choices, supplied the cleanup in #29, and committed the final split described in #31.
  • Andrey Lepikhovsaw an earlier versiontrailerPosting as Andrei Lepikhov, he questioned helper separation and extension allocation responsibilities in #18, then accepted the explanation in #20, before heap allocation replaced the stack object.
  • Tomas Vondrasaw an earlier versiontrailerTomas reported successful cross-platform valgrind testing and memory savings for #17 in #21, while proposing the subsequent palloc()/pfree() revision.

Credits across 3 commits

Author
Ashutosh Bapat2
Richard Guo1
Reviewer
Amit Langotecommitter3
Andrei Lepikhov2
Richard Guo2
Tomas Vondra2
Reported by
Richard Guo1
Committer
Amit Langote3