Answers for "grant super privileges postgres"

SQL
8

grant all privileges database postgres to user

GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
Posted by: Guest on May-20-2020
1

postgres create user with superuser privileges

sudo -u postgres createuser -s -i -d -r -l -w <<username>>
sudo -u postgres psql -c "ALTER ROLE <<username>> WITH PASSWORD '<<password>>';"
Posted by: Guest on November-03-2020

Code answers related to "grant super privileges postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language