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: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!
   <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 9d27b7fcde5695ecd18e0bed88ecebc0c9835b0f..81ec2fa7e90b853408041e16daaebfe9ebcd0ef9 100644 (file)
@@ -287,8 +287,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>