Improve GRANT reference page's description of object ownership
authorTom Lane
Sat, 12 Sep 2009 16:26:06 +0000 (16:26 +0000)
committerTom Lane
Sat, 12 Sep 2009 16:26:06 +0000 (16:26 +0000)
privileges by mentioning the possibility of granting membership in
the owning role.

doc/src/sgml/ref/grant.sgml

index ceda72c141d285c3151a8c9185311e58a52a1f3f..fe927e0ffe288f46949724d1080d4ad8ed2f06f1 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -121,9 +121,14 @@ GRANT role [, ...] TO 
    (usually the user that created it),
    as the owner has all privileges by default.  (The owner could,
    however, choose to revoke some of his own privileges for safety.)
-   The right to drop an object, or to alter its definition in any way is
-   not described by a grantable privilege; it is inherent in the owner,
-   and cannot be granted or revoked.  The owner implicitly has all grant
+  
+
+  
+   The right to drop an object, or to alter its definition in any way, is
+   not treated as a grantable privilege; it is inherent in the owner,
+   and cannot be granted or revoked.  (However, a similar effect can be
+   obtained by granting or revoking membership in the role that owns
+   the object; see below.)  The owner implicitly has all grant
    options for the object, too.