Jun 2023

1 commit
Don't use partial unique indexes for unique proofs in the planner
19 Jun 2023David Rowleymaster16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+2 more
LLM analysis, 99% suremodified before commitlight changesfrom patchset #172 of 2 reviewers saw the final version

The commit preserves both planner logic changes and the complete regression test from #17; src/backend/optimizer/path/indxpath.c differs only in comment wrapping and spacing. The commit message also revises the explanation and removes the speculative alternative, making the edits light.

  • Andres Freundsaw the final versionLLM analysis, 91% sureBefore an attachment existed, Andres diagnosed the invalid uniqueness proof in #4 and proposed excluding partial indexes in #7, reporting that this fixed the issue; #17 implements that proposal.
  • Tom Lanesaw the final versionLLM analysis, 90% sureBefore an attachment existed, Tom endorsed excluding partial indexes in #14 and challenged the more complex alternative's backpatch suitability in #16, steering the approach implemented in #17.

Credits across 1 commit

Author
David RowleyLLM1
Reported by
Tor Erik Linnerud1
Committer
David Rowley1

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