aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2017-02-12 16:03:41 -0500
committerNoah Misch <noah@leadboat.com>2017-02-12 16:03:41 -0500
commitf30f34e5897b64e0fb6616154c11dc9765866046 (patch)
treea45690274d5f30ac229b36809ef16bb3ad27f7be /src/backend/access/gist/gistbuild.c
parent2ea5b06c7a7056dca0af1610aadebe608fbcca08 (diff)
downloadpostgresql-f30f34e5897b64e0fb6616154c11dc9765866046.tar.gz
postgresql-f30f34e5897b64e0fb6616154c11dc9765866046.zip
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.
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions