Restructure AclItem representation so that we can have more than eight
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Apr 2002 00:26:44 +0000 (00:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Apr 2002 00:26:44 +0000 (00:26 +0000)
commitb0bcf8aab2da6710ff8842b86fed93571e143cc8
tree922f5b76b34a555d1a30003f216dd5df1aa3663c
parentad201b8d18b19d8c7a4a458e078bb555fcc2de74
Restructure AclItem representation so that we can have more than eight
different privilege bits (might as well make use of the space we were
wasting on padding).  EXECUTE and USAGE bits for procedures, languages
now are separate privileges instead of being overlaid on SELECT.  Add
privileges for namespaces and databases.  The GRANT and REVOKE commands
work for these object types, but we don't actually enforce the privileges
yet...
20 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/revoke.sgml
src/backend/catalog/aclchk.c
src/backend/commands/dbcommands.c
src/backend/commands/functioncmds.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/utils/adt/acl.c
src/backend/utils/cache/fcache.c
src/bin/initdb/initdb.sh
src/include/catalog/catversion.h
src/include/catalog/pg_attribute.h
src/include/catalog/pg_class.h
src/include/catalog/pg_database.h
src/include/catalog/pg_namespace.h
src/include/catalog/pg_type.h
src/include/nodes/parsenodes.h
src/include/parser/keywords.h
src/include/utils/acl.h