model-writtenrun 2856 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andreas Karlsson reported that inconsistent rule ordering made pg_upgrade tests flaky when views had dependency cycles #1.
- Andreas proposed sorting rules by schema, rule name, and relation name instead of using OID as the final tie-breaker, and attached the implementation #1.
- Tom Lane accepted the approach and reported pushing it with cosmetic adjustments to match the adjacent policy and trigger cases #2.
- Commit 350e6b8ea8 landed the patch from #1 with unchanged comparison logic and light placement, formatting, and comment edits.
- Andreas thanked Tom in the final reply, leaving the proposed change fully landed with no outstanding questions #3.