model-writtenrun 3228 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joel Jacobson proposed pg_get_acl(oid, oid) to retrieve object privileges without knowing each catalog's ACL column, crediting Álvaro Herrera's earlier idea and guidance and supplying code, documentation, and tests in #1.
- After resolving an initial installation problem, Ranier Vilela proposed checking pinned dependencies before catalog lookups and avoiding catalog access for objects without ACL columns in #5; Joel incorporated that restructuring in #6.
- Isaac Morland suggested single-argument reg* overloads in #7, and Joel added regclass and regproc versions in #8.
- Michael Paquier questioned the overloads' value, requested a dependency-query example, and recommended returning NULL for missing objects in #9; Tom Lane raised ambiguous-call concerns in #10, while Isaac explained explicit casts and proposed broader overload coverage in #11 and #12.
- Joel split the overloads into an optional second patch, added regtype and regnamespace support with a shared helper, implemented missing-object NULL results, and added the documentation example in #13; subsequent submissions reorganized tests and corrected attachment ordering in #14 and #15.
- Michael requested zero-OID tests, more readable ACL output, a large-object mapping comment, and separate ACL acronym documentation while reiterating doubts about the overloads in #16; Joel implemented those refinements and dropped the overloads as unconventional in #17.
- Discussion in #18, #19, and #20 settled on preserving existing object-identification conventions: missing objects and the all-zero pinned-dependency case return NULL, while an invalid class with a nonzero object still errors.
- Joel polished the documentation in #21 and rebased the patch after the separate ACL acronym work in #22.
- Michael committed #22 as 4564f1cebd, flattening the function's control flow, moving the documentation example outside the function table and adding sample output, removing the invalid-class error test, and bumping the catalog version.
- In the final message #23, Michael confirmed the landing and explained that column ACLs remain unsupported because their dependencies use pg_class with a subobject identifier; the two-OID function landed, while the reg* overloads had been dropped.