Answers for "create user and role in postgresql"

0

Make a user in Postgresql

CREATE USER jonathan;
CREATE USER davide WITH PASSWORD 'jw8s0F4';
CREATE USER miriam WITH PASSWORD 'jw8s0F4' VALID UNTIL '2005-01-01';
CREATE USER manuel WITH PASSWORD 'jw8s0F4' CREATEDB;
Posted by: Guest on July-05-2021
0

how to add user to role postgresql

CREATE ROLE joe LOGIN INHERIT;
CREATE ROLE admin NOINHERIT;
CREATE ROLE wheel NOINHERIT;
GRANT admin TO joe;
GRANT wheel TO admin;
Posted by: Guest on January-27-2021
0

how to add user to role postgresql

GRANT group_role TO role1, ... ;
REVOKE group_role FROM role1, ... ;
Posted by: Guest on January-27-2021
-1

create postgres user

createuser --interactive
Posted by: Guest on June-26-2021

Code answers related to "create user and role in postgresql"

Browse Popular Code Answers by Language