Dec 2019

1 commit
Remove redundant not-null test
18 Dec 2019Bruce Momjianmaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The single hunk in 181932a032 exactly matches #1: src/backend/executor/execExpr.c changes `if (parent && parent->scanops)` to `if (parent->scanops)`, with only path and line-offset differences.

  • Andreas Karlssonsaw the final versionLLM analysis, 100% sureIn #2, Andreas verified that an earlier null check makes the condition redundant and explained that removing it improves code clarity even if optimizing compilers already eliminate it.
  • Bruce Momjiansaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Ranier Vilela1
Reviewer
Bruce Momjiancommitter1
Reported by
Ranier Vilela1
Committer
Bruce Momjian1