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:56:14 +0000 (07:56 -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 1a875e04a7447ce2b29bcd7c4b7e01a5283c7853..27e48da12a20f79a66a0b7aedaf8ac5edf887990 100644 (file)
@@ -378,7 +378,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 65b1fe77119583eb5695aec5b29419eff446d6c1..999f657d5c008970e290793c54ad74fb7b9342bb 100644 (file)
@@ -288,8 +288,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.