pgsql: Remove ALTER DEFAULT PRIVILEGES' requirement of schema CREATE pe

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove ALTER DEFAULT PRIVILEGES' requirement of schema CREATE pe
Date: 2013-06-09 19:27:35
Message-ID: E1UllH5-0004O5-Uj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove ALTER DEFAULT PRIVILEGES' requirement of schema CREATE permissions.

Per discussion, this restriction isn't needed for any real security reason,
and it seems to confuse people more often than it helps them. It could
also result in some database states being unrestorable. So just drop it.

Back-patch to 9.0, where ALTER DEFAULT PRIVILEGES was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f3839ea117fba6fdb69c75a1fe145aa86a4c8ae3

Modified Files
--------------
doc/src/sgml/ref/alter_default_privileges.sgml | 4 ++--
src/backend/catalog/aclchk.c | 25 ++++++++++++------------
2 files changed, 14 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-06-09 19:27:36 pgsql: Remove ALTER DEFAULT PRIVILEGES' requirement of schema CREATE pe
Previous Message Tom Lane 2013-06-09 17:47:26 pgsql: Remove fixed limit on the number of concurrent AllocateFile() re