From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove hack in pg_tablespace_aclmask() that disallowed |
Date: | 2007-10-12 18:55:12 |
Message-ID: | 20071012185512.5B554753E4C@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/catalog:
aclchk.c (r1.140 -> r1.141)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/aclchk.c?r1=1.140&r2=1.141)
heap.c (r1.323 -> r1.324)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/heap.c?r1=1.323&r2=1.324)
index.c (r1.285 -> r1.286)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c?r1=1.285&r2=1.286)
pgsql/src/backend/commands:
dbcommands.c (r1.199 -> r1.200)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.199&r2=1.200)
tablecmds.c (r1.233 -> r1.234)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.233&r2=1.234)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-10-12 19:39:59 | pgsql: When telling the bgwriter that we need a checkpoint because too |
Previous Message | User Petere | 2007-10-12 12:35:25 | orafce - orafce: GCC 4.2 does not like unmatched apostrophes, even in |