Deleting a user will also delete the schema having the same name as the user.
1 | DROP USER [ IF EXISTS ] user_name [, ...] [ CASCADE | RESTRICT ]; |
Sends a notice instead of an error if the specified user does not exist.
Specifies the name of a user to be deleted.
Value range: An existing user name.
Delete user jim.
1 | DROP USER jim CASCADE; |