aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.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:54 -0500
commit660e457f5b1c4647ad2d41496840f793c87d9208 (patch)
tree736c748e3eb15e41045dd9f13622d83417aff250 /src/backend/access/gist/gistproc.c
parentcf73c6bfc7148077cda6ff68dae551c0a2674182 (diff)
downloadpostgresql-660e457f5b1c4647ad2d41496840f793c87d9208.tar.gz
postgresql-660e457f5b1c4647ad2d41496840f793c87d9208.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/gistproc.c')
0 files changed, 0 insertions, 0 deletions