model-writtenrun 1862 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dominique Devienne reported that minor upgrades broke a role-related unit test and initially suspected RLS or role inheritance in #1; Adrian Klaver asked about the upgrade and grants in #2, while Laurenz Albe requested a reproducer in #3.
- Dominique traced the failure to SIMILAR TO filtering of role names in #10 and supplied a minimal example showing that a pattern containing escaped character classes stopped matching after the upgrades in #12.
- Tom Lane confirmed with EXPLAIN VERBOSE that the converter left underscores and percent signs untranslated after the bracket expression in #18; Dominique adopted an alternation workaround in #19, and Alvaro Herrera linked another report in #20.
- Laurenz acknowledged introducing the regression and submitted #21, advancing the character-class parsing state after an escaped character so a following closing bracket would end the class.
- Tom questioned how nested brackets affected parsing state in #22; Laurenz explained that only the outer brackets introduce a character class in #23, leading Tom to propose clearer names, comments and conditional structure in #24.
- Laurenz submitted #25 with additional backslash and nested-bracket handling plus a separate readability patch, intending both patches to be backpatched.
- Tom combined both patches from #25 into 308773617d, improving comments and simplifying redundant state handling; he explained in #26 that presenting the fix separately from its explanatory cleanup made review harder.
- Laurenz accepted the combined approach in #27, and Michael Paquier confirmed the corrected percent-sign translation and endorsed the merge in #28, leaving both submitted patches landed with no further revision requested.