summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch2024-04-13 14:56:14 +0000
committerNoah Misch2024-04-13 14:56:14 +0000
commit68ba46dfe38c0bdb1078e25222322ad1043abd87 (patch)
tree4ef80a6886b3366ea68f5f8748f7b9b52065addb
parent4cc1c76fe9f13aa96bae14f4fcfdf6d508af72a4 (diff)
Correct "improve role option documentation".
This corrects doc commit 21912e3c0262e2cfe64856e028799d6927862563. Back-patch to v16, like that one. Reviewed by David G. Johnston. Discussion: https://postgr.es/m/[email protected]
-rw-r--r--doc/src/sgml/ref/create_role.sgml2
-rw-r--r--doc/src/sgml/ref/grant.sgml4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgml
index 1a875e04a74..27e48da12a2 100644
--- a/doc/src/sgml/ref/create_role.sgml
+++ b/doc/src/sgml/ref/create_role.sgml
@@ -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>
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index 65b1fe77119..999f657d5c0 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -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>