Answers for "roles and privileges in postgresql with one user"

1

postgresql change user role grant

=# ALTER USER librarian WITH SUPERUSER;
ALTER ROLE
Posted by: Guest on July-22-2020
0

postgresql user permissions to database

sudo -u postgres psqlpostgres=# create database mydb;postgres=# create user myuser with encrypted password 'mypass';postgres=# grant all privileges on database mydb to myuser;
Posted by: Guest on September-22-2020

Code answers related to "roles and privileges in postgresql with one user"

Browse Popular Code Answers by Language