pgsql: Add new catalog called pg_init_privs

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Add new catalog called pg_init_privs
Дата
Msg-id E1anz15-0007ps-DD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add new catalog called pg_init_privs

This new catalog holds the privileges which the system was
initialized with at initdb time, along with any permissions set
by extensions at CREATE EXTENSION time.  This allows pg_dump
(and any other similar use-cases) to detect when the privileges
set on initdb-created or extension-created objects have been
changed from what they were set to at initdb/extension-creation
time and handle those changes appropriately.

Reviews by Alexander Korotkov, Jose Luis Tallon

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6c268df1276e9dd73e4d2cc89cf8787e8f186bda

Modified Files
--------------
doc/src/sgml/catalogs.sgml                 | 108 +++++++++++++++++++++
src/backend/catalog/Makefile               |   2 +-
src/backend/catalog/aclchk.c               | 149 +++++++++++++++++++++++++++++
src/backend/catalog/dependency.c           |  46 ++++++++-
src/bin/initdb/initdb.c                    | 143 +++++++++++++++++++++++++++
src/include/catalog/indexing.h             |   3 +
src/include/catalog/pg_init_privs.h        | 101 +++++++++++++++++++
src/test/regress/expected/sanity_check.out |   1 +
8 files changed, 549 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Implement backup API functions for non-exclusive backups
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: In pg_dump, include pg_catalog and extension ACLs, if changed