OSDN Git Service

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)
commit0eaa36a16a89029f1b2eb9a38c90e3a0a0e2641e
tree31ad7be7a83a1fa7186e8de04c317f011ef4f54e
parent88b49cdc95ef9601edcb2cdb3fbe1986128b5092
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