summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2013-06-09 19:26:48 +0000
committerTom Lane2013-06-09 19:26:48 +0000
commit5f4a3116865c6482f6e62f4ec4c9152053bc28ca (patch)
treeaf19982d62c34961ac8e2a3ccdb5fb5367fba821 /doc/src
parenta9ec978eb730e0ee9a0aa329009b15f1ead78386 (diff)
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/alter_default_privileges.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/alter_default_privileges.sgml b/doc/src/sgml/ref/alter_default_privileges.sgml
index b5c8bb3a36b..fdd9c83800e 100644
--- a/doc/src/sgml/ref/alter_default_privileges.sgml
+++ b/doc/src/sgml/ref/alter_default_privileges.sgml
@@ -121,8 +121,8 @@ REVOKE [ GRANT OPTION FOR ]
<term><replaceable>schema_name</replaceable></term>
<listitem>
<para>
- The name of an existing schema. Each <replaceable>target_role</>
- must have <literal>CREATE</> privileges for each specified schema.
+ The name of an existing schema. If specified, the default privileges
+ are altered for objects later created in that schema.
If <literal>IN SCHEMA</> is omitted, the global default privileges
are altered.
</para>