diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-28 19:51:26 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-28 19:51:26 +0000 |
| commit | 0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e (patch) | |
| tree | 31ad7be7a83a1fa7186e8de04c317f011ef4f54e /src/include/utils | |
| parent | 88b49cdc95ef9601edcb2cdb3fbe1986128b5092 (diff) | |
| download | postgresql-0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e.tar.gz | |
Bring syntax of role-related commands into SQL compliance. To avoid
syntactic conflicts, both privilege and role GRANT/REVOKE commands have
to use the same production for scanning the list of tokens that might
eventually turn out to be privileges or role names. So, change the
existing GRANT/REVOKE code to expect a list of strings not pre-reduced
AclMode values. Fix a couple other minor issues while at it, such as
InitializeAcl function name conflicting with a Windows system function.
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/acl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h index f055ac93aa..82e004794b 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.78 2005/06/28 05:09:13 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/acl.h,v 1.79 2005/06/28 19:51:25 tgl Exp $ * * NOTES * An ACL array is simply an array of AclItems, representing the union @@ -211,7 +211,7 @@ extern AclMode aclmask(const Acl *acl, Oid roleid, Oid ownerId, extern bool is_member_of_role(Oid member, Oid role); -extern void InitializeAcl(void); +extern void initialize_acl(void); /* * SQL functions (from acl.c) |
