model-writtenrun 2571 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tobias Wendorff reported a reproducible PostgreSQL 17.2 crash when creating a BRIN index on a PostGIS geometry column containing 130,561 identical points #1.
- David Rowley identified the missing required MERGE support procedure, and Tomas Vondra confirmed that the PostGIS operator class combined a custom add-value procedure with the standard inclusion union procedure; Tomas also demonstrated that concurrent summarization could trigger the crash without parallel index builds #2 #3.
- Alvaro Herrera proposed distinguishing optional and required support functions with a missing_ok argument so malformed operator classes would cause errors instead of crashes; his patch covered inclusion, bloom, and minmax_multi, while raising possible cleanup of unnecessary optional-function machinery in the latter two #4.
- Tomas Vondra supported the mitigation while emphasizing that it would not detect malformed operator classes earlier, described inadequate validation diagnostics, and questioned changing the bloom/minmax_multi structures in backbranches #5.
- The inclusion portion landed as f5b4a0b49e, with improved diagnostics and comments but without the proposed bloom/minmax_multi changes; Alvaro confirmed deployment to all live branches and emphasized that correcting the operator-class definition remained PostGIS's responsibility, with validation diagnostics still needing improvement #6.