public inbox for [email protected]  
help / color / mirror / Atom feed
confusing terms
2+ messages / 2 participants
[nested] [flat]

* confusing terms
@ 2018-09-03 07:17  PG Doc comments form <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2018-09-03 07:17 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/role-membership.html
Description:

https://www.postgresql.org/docs/10/static/role-membership.html

it says

"Once the group role exists, you can add and remove members using the GRANT
and REVOKE commands:

GRANT group_role TO role1, ... ;
REVOKE group_role FROM role1, ... ;"

how can you add members to a newly created group role using the above
command? shouldn't it be GRANT group_role TO user1 ??


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: confusing terms
@ 2018-09-07 21:44  Bruce Momjian <[email protected]>
  parent: PG Doc comments form <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2018-09-07 21:44 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Mon, Sep  3, 2018 at 07:17:12AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/10/static/role-membership.html
> Description:
> 
> https://www.postgresql.org/docs/10/static/role-membership.html
> 
> it says
> 
> "Once the group role exists, you can add and remove members using the GRANT
> and REVOKE commands:
> 
> GRANT group_role TO role1, ... ;
> REVOKE group_role FROM role1, ... ;"
> 
> how can you add members to a newly created group role using the above
> command? shouldn't it be GRANT group_role TO user1 ??

Well, users and groups are both roles.  The sentence says below this:

   You can grant membership to other group roles, too (since there isn't
   really any distinction between group roles and non-group roles). 

meaning you can grant group role membership to user and other group
roles.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-09-07 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 07:17 confusing terms PG Doc comments form <[email protected]>
2018-09-07 21:44 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox