postgresql create user roles
snippet in sql

postgresql create user roles

user8265

CREATE ROLE admin WITH CREATEDB CREATEROLE;

postgresql create user roles

user4154

CREATE ROLE name [ WITH ADMIN role_name ]