Search Postgresql Archives

Re: [SPAM] AD(Active Directory) groups concepts in postgres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux