From: Noah Misch Date: Sat, 13 Apr 2024 14:56:14 +0000 (-0700) Subject: Correct "improve role option documentation". X-Git-Tag: REL_17_BETA1~259 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68ba46dfe38c0bdb1078e25222322ad1043abd87;p=thirdparty%2Fpostgresql.git 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 --- 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! 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 65b1fe77119..999f657d5c0 100644 --- a/doc/src/sgml/ref/grant.sgml +++ b/doc/src/sgml/ref/grant.sgml @@ -288,8 +288,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.