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/backend/utils/init/postinit.c | |
parent | 88b49cdc95ef9601edcb2cdb3fbe1986128b5092 (diff) | |
download | postgresql-0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e.tar.gz postgresql-0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e.zip |
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/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |