Skip to content

Commit e9b9053

Browse files
committed
Correct "improve role option documentation".
This corrects doc commit 21912e3. Back-patch to v16, like that one. Reviewed by David G. Johnston. Discussion: https://postgr.es/m/20240331061642.07@rfd.leadboat.com
1 parent e177da5 commit e9b9053

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/ref/create_role.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ in sync when changing the above synopsis!
399399
<para>
400400
The membership grants created by the
401401
<literal>IN ROLE</literal>, <literal>ROLE</literal>, and <literal>ADMIN</literal>
402-
clauses have the role executing this command as the grantee.
402+
clauses have the role executing this command as the grantor.
403403
</para>
404404

405405
<para>

doc/src/sgml/ref/grant.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ GRANT <replaceable class="parameter">role_name</replaceable> [, ...] TO <replace
287287
details on inheritance. If it is set to <literal>TRUE</literal>,
288288
it causes the new member to inherit from the granted role. If
289289
set to <literal>FALSE</literal>, the new member does not inherit.
290-
If unspecified when create a new role membership this defaults to
291-
the inheritance attribute of the role being added.
290+
If unspecified when creating a new role membership, this defaults to the
291+
inheritance attribute of the new member.
292292
</para>
293293

294294
<para>

0 commit comments

Comments
 (0)