On 2/2/2017 11:09 AM, PAWAN SHARMA
wrote:
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 |