]> granicus.if.org Git - postgresql/commitdiff
Complete the documentation of the USAGE privilege for foreign servers
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 14 Oct 2010 17:36:42 +0000 (20:36 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 14 Oct 2010 20:16:46 +0000 (23:16 +0300)
The GRANT reference page failed to mention that the USAGE privilege
allows modifying associated user mappings, although this was already
documented on the CREATE/ALTER/DROP USER MAPPING pages.

doc/src/sgml/ref/grant.sgml

index b8ee017a97fcc9f76a9b3ac58806f30a646c48b9..082e2e865d32d1e358002e9c46c40b961dfb95b2 100644 (file)
@@ -339,8 +339,10 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
        to create new servers using that foreign-data wrapper.
       </para>
       <para>
-       For servers, this privilege enables the grantee to query the
-       options of the server and associated user mappings.
+       For servers, this privilege enables the grantee to create,
+       alter, and drop his own user's user mappings associated with
+       that server.  Also, it enables the grantee to query the options
+       of the server and associated user mappings.
       </para>
      </listitem>
     </varlistentry>