Please find a attached a small patch that adds accessor functions
Bruce Momjian <bruce@momjian.us>
Please find a attached a small patch that adds accessor functions for "aclitem" so that it is not an opaque datatype. I needed these functions to browse aclitems from user land. I can load them when necessary, but it seems to me that these accessors for a backend type belong to the backend, so I submit them. Fabien Coelho
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/acl.c | modified | +38 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +13 −1 |
| src/include/utils/acl.h | modified | +6 −1 |
| src/test/regress/expected/privileges.out | modified | +14 −0 |
| src/test/regress/sql/privileges.sql | modified | +9 −0 |