Nov 2025

1 commit
Have the planner replace COUNT(ANY) with COUNT(*), when possible
26 Nov 2025David Rowleymaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #112 of 2 reviewers saw the final version

The commit matches #11 across all nine changed files except for an expanded expr_is_nonnullable() comment in src/backend/optimizer/util/clauses.c and rebase offsets in src/tools/pgindent/typedefs.list. The added comment documents SQL NULL semantics and use_rel_info; executable code and tests are unchanged.

  • Corey Huinkersaw the final versiontrailerCorey reported successful application and tests for #1 in #2 and for #3 in #4; subsequent changes were limited to disabled-code cleanup, comments, nonbehavioral pointer typing, and rebasing.
  • Matheus Alcantarasaw the final versiontrailerMatheus reviewed and benchmarked #3, reporting roughly 30% improvement and questioning the disabled experiment in #8, then endorsed the cleanup and planning-stage placement of #9 in #10, with only light changes afterward.

Credits across 1 commit

Author
David Rowley1
Reviewer
Corey Huinker1
Matheus Alcantara1
Committer
David Rowley1