model-writtenrun 9215 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported anole's intermittent temp regression failure and proposed adding ORDER BY to a pg_class query whose two results appeared in reverse order #1.
- Tom Lane found that the usual index-only scan already produced sorted results, questioned what changed the plan, and noticed that unescaped LIKE underscores were unintended wildcards #2; Michael retained ORDER BY and expanded the patch to escape underscores across eight regression tests #3.
- Tom's diagnostic attachment showed closely competing index-only, index and bitmap scan costs, supporting a plan change as the likely cause; he recommended limiting the scope to avoid backpatch complications and using anchored regular expressions for clearer name matching #4.
- Michael committed only the temp regression changes as 2d7d67cc74, taking the temp portion of #3 with regex substitutions; he confirmed that broader cleanup was deferred until concrete problems appeared #5.
- Thomas Munro then reported a similar ordering failure in collate.icu.utf8 involving pg_type #6, and Michael identified two queries needing ORDER BY and a redundant semicolon #7.
- Michael implemented that follow-up directly from discussion as 96e7e1bc08 and announced completion with the fix applicable back to v12 #8; both reported failures were fixed, while the wider wildcard cleanup remained deferred.