git.postgresql.org Git - postgresql.git/commit
2017年2月12日 21:03:41 +0000 (16:03 -0500)
2017年2月12日 21:03:41 +0000 (16:03 -0500)
commit f30f34e5897b64e0fb6616154c11dc9765866046
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.
This is the main PostgreSQL git repository.
RSS
Atom