DROP OWNED deletes the database objects of a database role.
The role's permissions on all the database objects in the current database and shared objects (databases and tablespaces) are revoked.
1 | DROP OWNED BY name [, ...] [ CASCADE | RESTRICT ]; |
Name of the role whose objects are to be deleted and whose permissions are to be revoked.