model-writtenrun 2816 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tomas Vondra opened the thread with #1, explaining that PostgreSQL 17's new empty-range output column could make brin_page_items crash with older pageinspect definitions and proposing conditional tuple construction to support both layouts.
- Michael Paquier requested an old-version regression test and recommended an upgrade-required error for consistency with other pageinspect functions in #2, while Hayato Kuroda reproduced the crash, tested the compatibility fix successfully, and requested tests and clearer documentation in #3.
- Tomas replaced compatibility handling with a column-count check, an error and upgrade hint, and regression tests in #4, explaining in #5 that supporting old definitions for this function alone offered little benefit when other pageinspect functions already required upgrades.
- Peter Geoghegan clarified that the historical fix used different strategies on development and stable branches in #6 and mildly preferred supporting both versions in #10, while Michael argued for consistent errors across branches and easier future API versioning in #8.
- Hayato tested the revised patch and confirmed its error and upgrade hint in #12, accepting the simpler approach because he saw little reason to retain an older pageinspect version.
- Tomas committed 957ba9ff14 from #4, moving the unchanged compatibility check earlier, polishing its constant and explanation, and adjusting the regression test to reuse existing data and explicitly exercise version 1.11.
- Tomas announced the commit and PostgreSQL 17 backpatch in #13, explaining that full API versioning was too late for stable branches and insufficiently justified by expected future changes; Michael's acknowledgment in #14 closed the thread with the fix landed.