Skip to content

Commit 68ba46d

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 4cc1c76 commit 68ba46d

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
@@ -378,7 +378,7 @@ in sync when changing the above synopsis!
378378
<para>
379379
The membership grants created by the
380380
<literal>IN ROLE</literal>, <literal>ROLE</literal>, and <literal>ADMIN</literal>
381-
clauses have the role executing this command as the grantee.
381+
clauses have the role executing this command as the grantor.
382382
</para>
383383

384384
<para>

doc/src/sgml/ref/grant.sgml

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

295295
<para>

0 commit comments

Comments
 (0)