aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2024-04-13 07:56:14 -0700
committerNoah Misch <noah@leadboat.com>2024-04-13 07:57:28 -0700
commite9b905325c1360f3270cd68a8ba9ae0f01b0517e (patch)
tree6824a68ef827e7c23fd7da528309badb85975d7a
parente177da5c87a10abac97c028bfb427bafb7353aa2 (diff)
downloadpostgresql-e9b905325c1360f3270cd68a8ba9ae0f01b0517e.tar.gz
postgresql-e9b905325c1360f3270cd68a8ba9ae0f01b0517e.zip
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/20240331061642.07@rfd.leadboat.com
-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 016486ffbac..8ac2119f22d 100644
--- a/doc/src/sgml/ref/create_role.sgml
+++ b/doc/src/sgml/ref/create_role.sgml
@@ -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>
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index 9d27b7fcde5..81ec2fa7e90 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -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>