Apr 2025

2 commits
Properly prepare varinfos in estimate_multivariate_bucketsize()
23 Apr 2025Alexander Korotkovmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #141 of 3 reviewers saw the final version

The commit retains the deduplication logic and regression tests from #14, whose patch header credits Andrei Lepikhov despite Alexander Korotkov submitting it. Following #15, it adds an initialization comment and replaces palloc plus explicit zero/false assignments with palloc0 in src/backend/utils/adt/selfuncs.c.

  • David Rowleyno review foundtrailerDavid documented the uniqueness contract in the independent comment patch #5, but the thread shows no explicit review of an attached bug-fix version.
  • Tomas Vondrano review foundtrailerTomas diagnosed duplicate Vars and suggested helper reuse before the first patch in #2, then discussed export scope in #8, without explicitly reviewing an attached bug-fix version.
  • Alexander Korotkovsaw the final versiontrailerAlexander found an assertion failure in #4, approved and polished the reworked patch in #14, and reviewed the final version as committer.
Improve comments for estimate_multivariate_ndistinct()
16 Apr 2025David Rowleymaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #51 of 1 reviewer saw the final version

All three comment hunks in src/backend/utils/adt/selfuncs.c match #5 except for one added comma after 'removed' in the function documentation. David confirmed the comment patch was committed in #13.

  • Andrei Lepikhovsaw the final versionLLM analysis, 99% sureAndrei explicitly said he had read the comment changes and expressed agreement in #7, before the commit; only punctuation changed afterward.

Credits across 2 commits

Author
Andrei Lepikhov1
David Rowley1
Reviewer
Alexander Korotkov1
David Rowley1
Tomas Vondra1
Reported by
Robins Tharakan1
Committer
Alexander Korotkov1
David Rowley1