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

Started by Tom Laneabout 13 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1476a94a48eec20b5884a0a2043aa28204155d33

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

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers