Bring syntax of role-related commands into SQL compliance. To avoid
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Jun 2005 19:51:26 +0000 (19:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Jun 2005 19:51:26 +0000 (19:51 +0000)
commit0b592c05ac4451aff36e68fb612d83a26339655b
tree900095191412382bd223a2266632f522b310bb62
parent64f856238f1e415b4dcf0dafe05fc4992dbd3d52
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/catalog/aclchk.c
src/backend/catalog/pg_proc.c
src/backend/commands/user.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/utils/adt/acl.c
src/backend/utils/init/postinit.c
src/include/nodes/parsenodes.h
src/include/storage/pmsignal.h
src/include/utils/acl.h
src/test/regress/expected/rules.out