model-writtenrun 9050 - 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 a reproducible CREATE TEXT SEARCH DICTIONARY crash affecting PostgreSQL 9.6 and later, tracing mismatched dictionary and affix files to an out-of-bounds affix index #1.
- Tomas Vondra identified missing range validation in NISortDictionary and proposed rejecting invalid indexes, while noting that reliably detecting incompatible file formats might not be possible #2.
- Arthur Zakirov explained that the crash involved affix aliases rather than long flags specifically, and supplied bounds checks, trailing-character validation, assertions, a getAffixFlagSet boundary correction, and regression tests #3.
- Tom Lane committed the patch unchanged as 8af1624e3f, with backports through PostgreSQL 9.6, and announced that it was pushed ahead of upcoming releases while leaving possible further validation for later #4.
- Arthur Zakirov acknowledged the landing, ending the thread with the submitted fix committed and no further patch pending #5.