create user and give permissions code example Example: create user and give permissions CREATE USER sammy; ALTER USER sammy WITH SUPERUSER;