Thread: pgsql: Revert "Use a bitmask to represent role attributes"

pgsql: Revert "Use a bitmask to represent role attributes"

From
Alvaro Herrera
Date:
Revert "Use a bitmask to represent role attributes"

This reverts commit 1826987a46d079458007b7b6bbcbbd852353adbb.

The overall design was deemed unacceptable, in discussion following the
previous commit message; we might find some parts of it still
salvageable, but I don't want to be on the hook for fixing it, so let's
wait until we have a new patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a609d96778c1714b9af916477b2c30891fbe578a

Modified Files
--------------
doc/src/sgml/catalogs.sgml                     |  127 ++++--------
doc/src/sgml/func.sgml                         |  127 ------------
src/backend/access/transam/xlogfuncs.c         |    5 +-
src/backend/catalog/Catalog.pm                 |    2 +-
src/backend/catalog/Makefile                   |    2 +-
src/backend/catalog/aclchk.c                   |  125 ++++++------
src/backend/catalog/genbki.pl                  |    3 -
src/backend/catalog/information_schema.sql     |    7 +-
src/backend/catalog/objectaddress.c            |    2 +-
src/backend/catalog/system_views.sql           |   28 +--
src/backend/commands/dbcommands.c              |   27 ++-
src/backend/commands/user.c                    |  244 ++++++++++--------------
src/backend/commands/variable.c                |    8 +-
src/backend/replication/logical/logicalfuncs.c |   16 +-
src/backend/replication/slotfuncs.c            |    3 +-
src/backend/rewrite/rowsecurity.c              |    2 +-
src/backend/utils/adt/acl.c                    |  200 ++-----------------
src/backend/utils/adt/ri_triggers.c            |    2 +-
src/backend/utils/init/miscinit.c              |   23 ++-
src/backend/utils/init/postinit.c              |    2 +-
src/backend/utils/misc/superuser.c             |    4 +-
src/bin/pg_dump/pg_dumpall.c                   |   14 +-
src/include/catalog/acldefs.h                  |   72 -------
src/include/catalog/catversion.h               |    2 +-
src/include/catalog/pg_authid.h                |   34 ++--
src/include/catalog/pg_proc.h                  |   13 --
src/include/nodes/parsenodes.h                 |   28 ++-
src/include/utils/acl.h                        |   14 +-
src/include/utils/builtins.h                   |    6 -
src/test/regress/expected/rules.out            |   28 +--
30 files changed, 372 insertions(+), 798 deletions(-)