model-writtenrun 922 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chao Li discovered that concurrent REPACK mishandled WITHOUT OVERLAPS replica identities: it assumed B-tree equality strategies and accepted false positives from lossy GiST scans, so he supplied fixes and range/multirange isolation tests #1.
- Kirill Reshke agreed with the diagnosis and requested an interrupt check while questioning the need for injection-point tests #2; Chao added the check and explained that the tests must reliably arrange concurrent updates during replay #3.
- Álvaro Herrera suggested deforming tuples only through the last identity-key attribute #4, which Chao implemented in the next revision #5.
- Álvaro committed that revision as 36f52a59b3, additionally caching the last required attribute number once per run and making diagnostic, comment and test-name adjustments, then announced the fix #6.
- After encountering an assertion while rebasing separate future improvements, Antonin Houska questioned whether GiST clustering made sense without SQL ordering information and whether non-B-tree indexes should remain permitted #8.
- Chao established that non-B-tree clustering uses a raw index scan and proposed documentation and comment corrections #9; Antonin objected that he wanted the questionable behavior flagged for correction rather than justified #10.
- Nathan Bossart later asked whether the documentation should at least be corrected for PostgreSQL 19 #11.
- Álvaro incorporated Chao's clarification, reorganized the clustering documentation and rewrote the code comment in 07aef52eba, backpatched to PostgreSQL 19; his final message confirmed both fixes had landed, ruled out changing clustering behavior for version 19 and left possible version 20 changes and further editorial improvements open #12.