model-writtenrun 7775 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ronan Dunklau reported that REINDEX CONCURRENTLY loses an index expression's configured statistics target and proposed passing the old targets through index creation, with regression tests, in #1.
- Tomas Vondra found that ANSI color escapes made the attachment unusable in #2, and Ronan resent identical patch content without the escapes in #3.
- Michael Paquier rejected the index_create() signature change because it would break ABI compatibility on stable branches and supplied a replacement that copies statistics targets during index_concurrently_swap(), with cheaper regression tests, in #4.
- Ronan accepted the replacement in #5, and Michael described an extra ALTER INDEX as a temporary workaround that would not disrupt concurrent activity in #6.
- Tomas questioned the swap-time placement and equality guard, requesting documentation of the backpatchability rationale in #7; Michael retained the guard for possible future uses where the new target might not be the default in #8.
- After the scheduled releases were tagged, Michael committed #4 as bd12080980 with light initialization and formatting changes, documented the alternative index_create() approach, and announced backpatching in #9.
- Justin Pryzby identified a constant expression mistakenly used in the new regression test's ORDER BY clause in #10; Michael corrected it in 4f47260050, also backpatched through PostgreSQL 12, and confirmed the correction in #11, leaving both fixes landed.