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
Showing
- src/backend/utils/adt/acl.c 38 additions, 1 deletionsrc/backend/utils/adt/acl.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 13 additions, 1 deletionsrc/include/catalog/pg_proc.h
- src/include/utils/acl.h 6 additions, 1 deletionsrc/include/utils/acl.h
- src/test/regress/expected/privileges.out 14 additions, 0 deletionssrc/test/regress/expected/privileges.out
- src/test/regress/sql/privileges.sql 9 additions, 0 deletionssrc/test/regress/sql/privileges.sql
Loading
Please register or sign in to comment