On 2/2/2017 11:09 AM, PAWAN SHARMA wrote:

1: Create User
2:Create group
3:Alter Group Add/Remove User's......????????

create user user1;
create user user2;
create group group1;
grant group1 to user1, user2;


in fact in postgres, both users and groups are roles, the only distinction is in how they are used. CREATE USER xxxx is exactly the same as CREATE ROLE xxxx WITH LOGIN;


--
john r pierce, recycling bits in santa cruz

Reply via email to