aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.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:04:09 -0500
commit804aad8ff46cbef9f520507bb8b4522a011cd1b2 (patch)
tree2d4401677356a390a59a5cae3a380df73bee3f5d /src/backend/executor/nodeHash.c
parent86ef376bbe1b9568fa71e76ecfd3091d522368bb (diff)
downloadpostgresql-804aad8ff46cbef9f520507bb8b4522a011cd1b2.tar.gz
postgresql-804aad8ff46cbef9f520507bb8b4522a011cd1b2.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/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions