model-writtenrun 7823 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrus reported that duplicate schema names in ALTER DEFAULT PRIVILEGES caused self-update or unique-constraint errors and asked whether duplicates should be accepted or produce clearer errors #1.
- Michael Paquier identified a missing command-counter increment and submitted a patch placing it at the end of SetDefaultACL(), with a regression test using duplicate schema and role names #2.
- Alvaro Herrera supported the patch after comparing existing GRANT handling, noting that placing the increment in looping callers would add clutter #3.
- The patch from #2 landed unchanged as 21378e1fef, accepting duplicate objects transparently and providing backports through PostgreSQL 9.5.
- Michael Paquier confirmed that the placement also appeared harmless for DROP OWNED BY and announced that the fix had been applied and backpatched, leaving no outstanding work in the thread #4.