Correct "improve role option documentation".
authorNoah Misch
Sat, 13 Apr 2024 14:56:14 +0000 (07:56 -0700)
committerNoah Misch
Sat, 13 Apr 2024 14:57:28 +0000 (07:57 -0700)
This corrects doc commit 21912e3c0262e2cfe64856e028799d6927862563.
Back-patch to v16, like that one.

Reviewed by David G. Johnston.

Discussion: https://postgr.es/m/20240331061642[email protected]

doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/grant.sgml

index 016486ffbac7ad3b75dfc829db9fc93e32f09631..8ac2119f22d5efeb84a4ed2e48250a79667bb354 100644 (file)
@@ -399,7 +399,7 @@ in sync when changing the above synopsis!
   
    The membership grants created by the
    IN ROLEROLE, and ADMIN
-   clauses have the role executing this command as the grantee.
+   clauses have the role executing this command as the grantor.
   
 
   
index 9d27b7fcde5695ecd18e0bed88ecebc0c9835b0f..81ec2fa7e90b853408041e16daaebfe9ebcd0ef9 100644 (file)
@@ -287,8 +287,8 @@ GRANT role_name [, ...] TO 
    details on inheritance.  If it is set to TRUE,
    it causes the new member to inherit from the granted role. If
    set to FALSE, the new member does not inherit.
-   If unspecified when create a new role membership this defaults to
-   the inheritance attribute of the role being added.
+   If unspecified when creating a new role membership, this defaults to the
+   inheritance attribute of the new member.