set user to superuser postgresql code example
Example: postgres create user with superuser privileges
sudo -u postgres createuser -s -i -d -r -l -w <>
sudo -u postgres psql -c "ALTER ROLE <> WITH PASSWORD '<>';"
sudo -u postgres createuser -s -i -d -r -l -w <>
sudo -u postgres psql -c "ALTER ROLE <> WITH PASSWORD '<>';"