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/init/postinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/init/postinit.c') diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 9baacacfffd..21b0650e827 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.150 2005/06/28 05:09:02 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.151 2005/06/28 19:51:23 tgl Exp $ * * *------------------------------------------------------------------------- @@ -471,7 +471,7 @@ InitPostgres(const char *dbname, const char *username) InitializeSearchPath(); /* set up ACL framework (currently just sets RolMemCache callback) */ - InitializeAcl(); + initialize_acl(); /* initialize client encoding */ InitializeClientEncoding(); -- cgit v1.2.3