Skip to content

Instantly share code, notes, and snippets.

@galvao
Created July 12, 2026 20:21
Show Gist options
  • Select an option

  • Save galvao/2e89015516f4c2443f6af1fc8bb27156 to your computer and use it in GitHub Desktop.

Select an option

Save galvao/2e89015516f4c2443f6af1fc8bb27156 to your computer and use it in GitHub Desktop.
Example user and database creation for postgresql
create user user_name NOSUPERUSER NOCREATEDB NOCREATEROLE LOGIN encrypted password 'password';
create database database_name with owner=user_name encoding=utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment