dropuser
Remove an existing PostgreSQL user (role). tldr-pages
On several platforms
Several platforms
Prompt for confirmation and the username before user removal
dropuser --interactiveIdentifyRemove user instantly
dropuser usernameIdentifyDo not throw an error if the user to be removed doesn't exist
dropuser --if-exists usernameIdentifyRemove a user on the server with address 127.0.0.1 on port 4321
dropuser --host 127.0.0.1 --port 4321 usernameIdentifyRemove a user on the server with address 127.0.0.1 on port 4321 as user "admin"
dropuser --username admin --host 127.0.0.1 --port 4321 usernameIdentify