model-writtenrun 485 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zsolt Parragi reported that a 2047-byte lexeme could be converted from tsvector to an array but could not be converted back, and submitted two patches fixing this and other MAXSTRLEN inconsistencies with regression tests #1.
- Tom Lane explained that he had noticed the inconsistency while preparing an earlier security fix but considered it outside that fix's scope; he supplied his staged post-release patch, also correcting MAXSTRPOS enforcement #2.
- Tom's replacement consolidated the MAXSTRLEN changes and added the MAXSTRPOS correction in src/backend/utils/adt/tsquery.c, while leaving out Zsolt's regression tests without stating a reason #1 #2.
- Zsolt reviewed Tom's replacement, agreed that the additional MAXSTRPOS case was valid, and confirmed that the remaining changes looked identical #3.
- Tom committed the replacement without substantive changes as 39cad0de4a, credited Zsolt's review, and backpatched through PostgreSQL 14 to preserve cross-release value compatibility; his final message confirmed that the fix had been pushed, leaving no further work discussed #4.