diff --git a/doc/src/sgml/ref/drop_owned.sgml b/doc/src/sgml/ref/drop_owned.sgml index 9dd4184916d..ced8876b0fc 100644 --- a/doc/src/sgml/ref/drop_owned.sgml +++ b/doc/src/sgml/ref/drop_owned.sgml @@ -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. + diff --git a/doc/src/sgml/ref/reassign_owned.sgml b/doc/src/sgml/ref/reassign_owned.sgml index df37f4a386b..f9636479cb5 100644 --- a/doc/src/sgml/ref/reassign_owned.sgml +++ b/doc/src/sgml/ref/reassign_owned.sgml @@ -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 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).