Oct 2024

2 commits
Improve node type forward reference
17 Oct 2024Peter Eisentrautmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit preserves the first patch's struct Query pointer and cast removals from #1, but retains a rewritten explanatory comment in src/include/nodes/primnodes.h instead of deleting it. The src/backend/parser/analyze.c hunk also has a trivial base offset.

  • Nathan Bossartsaw the final versiontrailerNathan questioned header requirements in #2 and explicitly approved this patch in #5 after Peter clarified incomplete structs.
  • Tender Wangsaw the final versiontrailerTender approved both patches and cited the existing struct FdwRoutine pointer as supporting precedent in #4.
Fix unnecessary casts of copyObject() result
17 Oct 2024Peter Eisentrautmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The commit exactly matches the second patch in #1, removing four redundant casts in src/backend/commands/trigger.c, src/backend/nodes/nodeFuncs.c, and src/backend/rewrite/rewriteManip.c.

  • Nathan Bossartsaw the final versiontrailerNathan gave an LGTM in #2, with his remaining forward-reference concern resolved separately in #5.
  • Tender Wangsaw the final versiontrailerTender explicitly said both attached patches looked good in #4.

Credits across 2 commits

Author
Peter EisentrautLLM2
Reviewer
Nathan Bossart2
Tender Wang2
Committer
Peter Eisentraut2

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