model-writtenrun 7609 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jaime Casanova opened the thread with a reproducible timetz BRIN minmax-multi crash in #1; Zhihong Yu suspected overlapping ranges in #2, while Tomas Vondra questioned that explanation and independently noticed that inet distance ignored network masks in #3.
- Tomas identified missing timezone adjustment and attached fixes for both timetz and inet in #4, while raising possible rounding-related assertions and planning randomized testing because ordinary regression data had missed the failures.
- Jaime confirmed that the attachment fixed both his reported query and original case in #7; Zhihong questioned inet address access in #5 and caught the changed divisor in #8, which Tomas agreed should remain 256 in #9.
- Jaime reported a separate interval crash in #11; Zhihong proposed an inline timezone-based fix in #12, but Tomas rejected it because Interval has no zone field and identified inconsistent 31-day versus 30-day month conversion in #13.
- Zhihong favored matching interval_cmp_value in #14, and Jaime confirmed that the 30-day correction worked in #15, where he also supplied a new pgbench reproducer for a crash involving autovacuum.
- Tomas committed the interval correction with revised day-and-remainder arithmetic as 2b10e0e3c2 and extracted the lightly regrouped timetz fix from #4 as 7262f2421a.
- The inet portion of #4 landed as e1fbe1181c, with bit-level masking and divisor 256; Tomas later explained in #17 that using inet subtraction directly would not work because it ignores masks even though ordering considers them.
- Tomas also committed corrected cross-type comparison argument order as 1dad2a5ea3 and the missing deduplicated-range count assignment as d9c5b9a9ee; in #16 he announced all reported bugs fixed and described randomized testing plus manual summarization needed to reproduce the union failure.
- The thread reopened in September 2022 when Jaime reported another autovacuum-time crash on a float8 minmax-multi index in #18.
- Tomas explained in #19 that merging overlapping single-range summaries could legitimately leave one range, violating an overly strict build_distances assertion; Jaime supplied core-dump details in #20 and confirmed identical values in #22, supporting Tomas's reproduction in #21.
- After Justin Pryzby asked whether the issue remained outstanding in #23, Tomas confirmed in #24 that it was deferred because it was harmless without assertions and he was prioritizing a separate BRIN NULL-handling problem.
- Tomas finally committed 02699bc1fd, relaxing the assertion and returning NULL immediately for one range, with backpatches through PostgreSQL 14; his closing announcement in #25 leaves no reported fix outstanding.