Clarify some behaviours of REASSIGN OWNED and DROP OWNED BY.
authorSimon Riggs
Fri, 2 Apr 2010 17:29:22 +0000 (17:29 +0000)
committerSimon Riggs
Fri, 2 Apr 2010 17:29:22 +0000 (17:29 +0000)
doc/src/sgml/ref/drop_owned.sgml
doc/src/sgml/ref/reassign_owned.sgml

index 9dd4184916da748fcd602a24a75a233a1c3e117d..ced8876b0fc5db18456b5f8b97545632ae405f69 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -92,6 +92,10 @@ DROP OWNED BY name [, ...] [ CASCAD
    reassigns the ownership of all the database objects owned by one or
    more roles.
   
+
+  
+   Databases owned by the role(s) will not be removed.
+  
  
 
  
index df37f4a386b1c298807f84d742e7dff80f505b23..f9636479cb5ee3f0433b49384c77697aa55f2a6f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -73,10 +73,17 @@ REASSIGN OWNED BY old_role [, ...]
    that contains objects owned by a role that is to be removed.
   
 
+  
+   REASSIGN OWNED requires privileges on both the
+   source role(s) and the target role.
+  
+
   
    The 
     endterm="sql-drop-owned-title"> command is an alternative that
-   drops all the database objects owned by one or more roles.
+   drops all the database objects owned by one or more roles. Note
+   also that DROP OWNED requires privileges only
+   on the source role(s).