model-writtenrun 7845 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Noah Misch reported that pg_dump could emit invalid SQL and incorrectly use REVOKE GRANT OPTION FOR when removing initial privileges containing grant options, attaching a fix in #1.
- The patch in #1 lets parseAclItem combine privileges regardless of grant option, allowing buildACLCommands to emit a plain REVOKE with its terminating semicolon.
- The tests in #1 cover removing all access to an extension function and changing grant options on an extension sequence.
- Noah questioned whether the tests could rely on REVOKE statement ordering in #1; the supplied thread contains no subsequent review or resolution of that concern.
- Noah committed #1 unchanged as f713ff7c64 on January 16, 2021, with backports through PostgreSQL 9.6; the entire submitted patch landed.