Jul 2025

1 commit
Simplify COALESCE() with one surviving argument.
3 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #41 of 1 reviewer saw the final version

The commit preserves the optimizer logic and all five changed paths from #4, while rewording the comment and replacing dummy regression-test arguments with repeated original arguments. Tom Lane explains in #5 that COALESCE(x,x) preserves NULL results, unlike COALESCE(x,0).

  • Tom Lanesaw the final versiontrailerTom Lane endorsed the initial check and requested comments in #2, then reviewed, adjusted, and committed the revised series as reported in #5.

Credits across 1 commit

Author
Maksim Milyutin1
Reviewer
Tom Lane1
Committer
Tom Lane1