aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/acl.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-29 20:34:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-29 20:34:15 +0000
commitc33d575899593a46a5b9a76e4e0ef6f9d81e55dd (patch)
tree0eb3f15f13cfebe30480c4b0fb25330a46ee3177 /src/include/utils/acl.h
parent4523e0b63ae31c208eb91994484169dc8da86a85 (diff)
downloadpostgresql-c33d575899593a46a5b9a76e4e0ef6f9d81e55dd.tar.gz
postgresql-c33d575899593a46a5b9a76e4e0ef6f9d81e55dd.zip
More cleanup on roles patch. Allow admin option to be inherited through
role memberships; make superuser/createrole distinction do something useful; fix some locking and CommandCounterIncrement issues; prevent creation of loops in the membership graph.
Diffstat (limited to 'src/include/utils/acl.h')
-rw-r--r--src/include/utils/acl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h
index 82e004794bc..0b560e062c1 100644
--- a/src/include/utils/acl.h
+++ b/src/include/utils/acl.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/acl.h,v 1.79 2005/06/28 19:51:25 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/acl.h,v 1.80 2005/06/29 20:34:15 tgl Exp $
*
* NOTES
* An ACL array is simply an array of AclItems, representing the union
@@ -210,6 +210,7 @@ extern AclMode aclmask(const Acl *acl, Oid roleid, Oid ownerId,
AclMode mask, AclMaskHow how);
extern bool is_member_of_role(Oid member, Oid role);
+extern bool is_admin_of_role(Oid member, Oid role);
extern void initialize_acl(void);