model-writtenrun 649 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andreas Lind reported that equalPolicy() ignored the PERMISSIVE/RESTRICTIVE distinction and submitted a two-line comparison fix without a SQL reproduction, explaining that relation lifetimes and locking made the problematic rebuild difficult to trigger #1.
- Laurenz Albe supported the fix because the omission violated the function's contract, while remaining unsure whether it caused an observable problem #2.
- Michael Paquier identified the omission as a hole dating from the field's introduction and agreed that policies with different permissive settings must compare unequal #3.
- Laurenz clarified that he supported Andreas's proposed implementation and accepted Michael's finding that the omission was accidental #4.
- Michael committed the patch unchanged as 8c551aab15, with backpatching through PostgreSQL 14, and confirmed completion while noting that DROP/CREATE invalidation and locking reduced the practical concern #5.