model-writtenrun 673 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nitin Motiani proposed preserving escaped literal backslashes in LIKE patterns under nondeterministic collations, explaining that the preceding scan already prevents trailing escapes and supplying a passing regression test in #1.
- Zsolt Parragi verified the fix but questioned its undocumented dependence on the preceding scan in #2; Nitin adopted an afterescape flag, added multibyte-aware copying, and expanded the tests in #3.
- Ewan Young reported successful regression testing and identified an untested false-positive match plus a comment typo in #5; Nitin addressed both in #6, which Ewan retested and approved in #7.
- Tom Lane challenged the multibyte handling in #8, explaining that backend-safe encodings cannot contain a backslash byte within a multibyte character and therefore require only the consecutive-backslash fix.
- Tom independently simplified #6 and committed a99bd8d584, preserving all five tests while restoring bytewise copying and adding a short safety comment; the commit specifies backpatching through PostgreSQL 18.
- Nitin posted the same functional simplification with a longer explanation in #9, but Tom explained in #10 that he had already pushed his version before that attachment arrived.
- Nitin thanked Tom in #11, closing the thread with the fix landed and no outstanding work identified.