[COMMITTERS] pgsql: Ignore tablespace ACLs when ignoring schema ACLs.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема [COMMITTERS] pgsql: Ignore tablespace ACLs when ignoring schema ACLs.
Дата
Msg-id E1cd1On-0006LP-K3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Ignore tablespace ACLs when ignoring schema ACLs.

The ALTER TABLE ALTER TYPE implementation can issue DROP INDEX and
CREATE INDEX to refit existing indexes for the new column type.  Since
this CREATE INDEX is an implementation detail of an index alteration,
the ensuing DefineIndex() should skip ACL checks specific to index
creation.  It already skips the namespace ACL check.  Make it skip the
tablespace ACL check, too.  Back-patch to 9.2 (all supported versions).

Reviewed by Tom Lane.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/804aad8ff46cbef9f520507bb8b4522a011cd1b2

Modified Files
--------------
src/backend/commands/indexcmds.c          | 9 +++++----
src/test/regress/input/tablespace.source  | 7 +++++++
src/test/regress/output/tablespace.source | 9 ++++++++-
3 files changed, 20 insertions(+), 5 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: Add CREATE SEQUENCE AS clause
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: doc: Remove accidental extra table cell