Remove hack in pg_tablespace_aclmask() that disallowed permissions
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2007 18:55:12 +0000 (18:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2007 18:55:12 +0000 (18:55 +0000)
commit0eeada81e6de2b941b17828810787228056b55ea
treebe55ba7f1a1fa677f4ea963dcdcc7738efbb7a55
parentfc69cd3321a83385ace37af37d4b7fcbc34de2af
Remove hack in pg_tablespace_aclmask() that disallowed permissions
on pg_global even to superusers, and replace it with checks in various
other places to complain about invalid uses of pg_global.  This ends
up being a bit more code but it allows a more specific error message
to be given, and it un-breaks pg_tablespace_size() on pg_global.
Per discussion.
src/backend/catalog/aclchk.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/dbcommands.c
src/backend/commands/tablecmds.c