postgre alter role code example
Example: change role postgres
# make 'dave' superuser and allow him to create databases
ALTER ROLE dave WITH SUPERUSER;
ALTER ROLE dave WITH CREATEDB;
# make 'dave' superuser and allow him to create databases
ALTER ROLE dave WITH SUPERUSER;
ALTER ROLE dave WITH CREATEDB;