From e9b905325c1360f3270cd68a8ba9ae0f01b0517e Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Sat, 13 Apr 2024 07:56:14 -0700 Subject: [PATCH] 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 --- doc/src/sgml/ref/create_role.sgml | 2 +- doc/src/sgml/ref/grant.sgml | 4 ++-- 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! The membership grants created by the IN ROLE, ROLE, and ADMIN - clauses have the role executing this command as the grantee. + clauses have the role executing this command as the grantor. 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 role_name [, ...] TO TRUE, it causes the new member to inherit from the granted role. If set to FALSE, 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.