Answers for "postgres set password for role"

SQL
0

set username and password for postgresql database

sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
Posted by: Guest on August-18-2020
0

change role postgres

# make 'dave' superuser and allow him to create databases
ALTER ROLE dave WITH SUPERUSER;
ALTER ROLE dave WITH CREATEDB;
Posted by: Guest on July-14-2020

Code answers related to "postgres set password for role"

Code answers related to "SQL"

Browse Popular Code Answers by Language