Answers for "sudo add_user postgres linux"

0

How do I add a user to a postgres database? cli

GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
Posted by: Guest on June-16-2020
0

How do I add a user to a postgres database? cli

psql=# grant all privileges on database <dbname> to <username>
Posted by: Guest on June-16-2020

Browse Popular Code Answers by Language