git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cacd42d) | patch
Support SECURITY LABEL on databases, tablespaces, and roles.
2011年7月20日 17:18:24 +0000 (13:18 -0400)
2011年7月20日 17:18:24 +0000 (13:18 -0400)
commit 463f2625a5fb183b6a8925ccde98bb3889f921d9
Support SECURITY LABEL on databases, tablespaces, and roles.

This requires a new shared catalog, pg_shseclabel.

Along the way, fix the security_label regression tests so that they
don't monkey with the labels of any pre-existing objects. This is
unlikely to matter in practice, since only the label for the "dummy"
provider was being manipulated. But this way still seems cleaner.

KaiGai Kohei, with fairly extensive hacking by me.
22 files changed:
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/ref/security_label.sgml diff | blob | blame | history
src/backend/catalog/Makefile diff | blob | blame | history
src/backend/catalog/catalog.c diff | blob | blame | history
src/backend/catalog/system_views.sql diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/backend/commands/seclabel.c diff | blob | blame | history
src/backend/commands/tablespace.c diff | blob | blame | history
src/backend/commands/user.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/bin/pg_dump/dumputils.c diff | blob | blame | history
src/bin/pg_dump/dumputils.h diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/pg_dump/pg_dumpall.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/indexing.h diff | blob | blame | history
src/include/catalog/pg_shseclabel.h [new file with mode: 0644] blob
src/include/commands/seclabel.h diff | blob | blame | history
src/test/regress/expected/rules.out diff | blob | blame | history
src/test/regress/expected/sanity_check.out diff | blob | blame | history
src/test/regress/input/security_label.source diff | blob | blame | history
src/test/regress/output/security_label.source diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /