From 0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 28 Jun 2005 19:51:26 +0000 Subject: 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. --- src/backend/utils/adt/acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/adt/acl.c') diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c index 4d5904b7690..2fe7fd39bca 100644 --- a/src/backend/utils/adt/acl.c +++ b/src/backend/utils/adt/acl.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/acl.c,v 1.115 2005/06/28 05:09:00 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/acl.c,v 1.116 2005/06/28 19:51:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2414,7 +2414,7 @@ convert_tablespace_priv_string(text *priv_type_text) } void -InitializeAcl(void) +initialize_acl(void) { if (!IsBootstrapProcessingMode()) { -- cgit v1.2.3