How to delete user in PostgreSQL
We can use the DROP query to remove user in PostgreSQL.
>DROP USER <username>
Here we need to replace the required username that to be deleted.
As an alternative, we can use the following command also.
>DROP ROLE <username>
Here we need to replace the required username that to be deleted.
That's all…