Correct "improve role option documentation".
authorNoah Misch <[email protected]>
Sat, 13 Apr 2024 14:56:14 +0000 (07:56 -0700)
committerNoah Misch <[email protected]>
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!
   <para>
    The membership grants created by the
    <literal>IN ROLE</literal>, <literal>ROLE</literal>, and <literal>ADMIN</literal>
-   clauses have the role executing this command as the grantee.
+   clauses have the role executing this command as the grantor.
   </para>
 
   <para>
index 65b1fe77119583eb5695aec5b29419eff446d6c1..999f657d5c008970e290793c54ad74fb7b9342bb 100644 (file)
@@ -288,8 +288,8 @@ GRANT <replaceable class="parameter">role_name</replaceable> [, ...] TO <replace
    details on inheritance.  If it is set to <literal>TRUE</literal>,
    it causes the new member to inherit from the granted role. If
    set to <literal>FALSE</literal>, 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.
   </para>
 
   <para>