postgresql/src/backend
Noah Misch 804aad8ff4 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.
2017-02-12 16:04:09 -05:00
..
access Fix typos in comments. 2017-02-06 11:34:24 +02:00
bootstrap Protect against multixact members wraparound 2015-04-28 11:32:53 -03:00
catalog Fix typos in comments. 2017-02-06 11:34:24 +02:00
commands Ignore tablespace ACLs when ignoring schema ACLs. 2017-02-12 16:04:09 -05:00
executor Fix typos in comments. 2017-02-06 11:34:24 +02:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Misc comment typo fixes. 2014-12-16 16:38:20 +02:00
libpq Fix typos in comments. 2017-02-06 11:34:24 +02:00
main Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds 2016-03-10 14:10:41 +01:00
nodes Fix improper repetition of previous results from a hashed aggregate. 2016-08-24 14:37:51 -04:00
optimizer Fix typos in comments. 2017-02-06 11:34:24 +02:00
parser Fix typos in comments. 2017-02-06 11:34:24 +02:00
po Translation updates 2017-02-06 12:38:00 -05:00
port Try to find out the actual hugepage size when making a MAP_HUGETLB request. 2016-10-13 15:07:11 -04:00
postmaster Fix typos in comments. 2017-02-06 11:34:24 +02:00
regex Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:11:52 -05:00
replication Fix typos in comments. 2017-02-06 11:34:24 +02:00
rewrite Improve error message for rejecting RETURNING clauses with dropped columns. 2016-02-29 19:11:49 -05:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:31 -04:00
storage Fix typos in comments. 2017-02-06 11:34:24 +02:00
tcop Add castNode(type, ptr) for safe casting between NodeTag based types. 2017-01-26 16:47:03 -08:00
tsearch Fix typos in comments. 2017-02-06 11:34:24 +02:00
utils Blind try to fix portability issue in commit 8f93bd851 et al. 2017-02-09 15:49:58 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:30 -04:00
nls.mk Translation updates 2015-02-01 23:18:42 -05:00