Apr - May 2025

4 commits
Refactor ChangeVarNodesExtended() using the custom callback
7 May 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #140 of 2 reviewers saw the final version

The three code-file diffs match #14 modulo whitespace; the commit additionally registers ChangeVarNodes_callback in src/tools/pgindent/typedefs.list. Both the attachment and commit credit Andrei Lepikhov alongside sender Alexander Korotkov.

  • Dean Rasheedsaw an earlier versionLLM analysis, 96% sureDean proposed moving planner-specific handling behind a callback #5, whose calling contract was subsequently revised in #12.
  • Richard Guosaw an earlier versionLLM analysis, 95% sureRichard challenged ChangeVarNodes() creating SJE-specific NullTest quals #2 and endorsed the callback approach #6, before implementation and the subsequent callback-contract revision.
Refactor ChangeVarNodesExtended() using the custom callback
3 May 2025Alexander Korotkovmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #140 of 2 reviewers saw the final version

The three code-file diffs match #14 modulo whitespace; the commit additionally registers ChangeVarNodes_callback in src/tools/pgindent/typedefs.list. Both the attachment and commit credit Andrei Lepikhov alongside sender Alexander Korotkov.

  • Dean Rasheedsaw an earlier versionLLM analysis, 96% sureDean challenged the original placement of planner-specific logic and proposed the adopted callback architecture before an attached callback patch existed #5, although its calling contract was subsequently revised #12.
  • Richard Guosaw an earlier versionLLM analysis, 95% sureRichard identified the inappropriate NullTest responsibility #2 and endorsed moving it behind a callback #6, before the implementation and subsequent callback-contract revision.
Fixes for ChangeVarNodes_walker()
29 Apr 2025Alexander Korotkovmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 92% surepart of a posted patchsetmoderate changesfrom patchset #101 of 1 reviewer saw the final version

The commit extracts the required_relids check and incremental num_base_rels adjustment from the combined draft #10, leaving them in rewriteManip.c without the callback refactor. It replaces bms_union with separate membership checks, removes the draft's erroneous subsequent count overwrite, and adds a join regression test, matching the split announced in #11.

  • Alexander Korotkovsaw the final versiontrailerAlexander assembled and revised Andrei's draft into separate fixes with regression coverage #11, confirmed their landing #12, and reviewed the final version as committer.
Restore comments in ChangeVarNodesExtended()
28 Apr 2025Alexander Korotkovmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit restores the three ChangeVarNodesExtended() comment blocks quoted in #1; no available attachment adds them. Alexander announced the separate restoration in #11 and confirmed it was pushed in #12.

  • Richard Guosaw the final versionLLM analysis, 99% sureRichard identified the accidental comment removal and supplied the exact missing blocks that were restored #1.

Credits across 4 commits

Author
Andrei Lepikhov3
Alexander Korotkov2
Reviewer
Alexander Korotkov1
Reported by
Richard Guo4
Committer
Alexander Korotkov4