Skip to content

Instantly share code, notes, and snippets.

@valikos
Created January 26, 2015 10:05
Show Gist options
  • Save valikos/0034c2eeb670c234dbf8 to your computer and use it in GitHub Desktop.
Save valikos/0034c2eeb670c234dbf8 to your computer and use it in GitHub Desktop.
How to create new user in postgres with password and interactive mode
# create user
createuser --interactive -P role_name
# remove user
dropuser role_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment