From b4dbf3e924b2556acbe103dc61ac71f9985ff24f Mon Sep 17 00:00:00 2001 From: David Rowley Date: Tue, 18 Apr 2023 13:23:23 +1200 Subject: Fix various typos This fixes many spelling mistakes in comments, but a few references to invalid parameter names, function names and option names too in comments and also some in string constants Also, fix an #undef that was undefining the incorrect definition Author: Alexander Lakhin Reviewed-by: Justin Pryzby Discussion: https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com --- src/backend/utils/adt/acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/adt/acl.c') diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c index 8f7522d1033..c5a6babccc2 100644 --- a/src/backend/utils/adt/acl.c +++ b/src/backend/utils/adt/acl.c @@ -4825,7 +4825,7 @@ RoleMembershipCacheCallback(Datum arg, int cacheid, uint32 hashvalue) * Get a list of roles that the specified roleid is a member of * * Type ROLERECURSE_MEMBERS recurses through all grants; ROLERECURSE_PRIVS - * recurses only through inheritable grants; and ROLERECURSE_SETROLe recurses + * recurses only through inheritable grants; and ROLERECURSE_SETROLE recurses * only through grants with set_option. * * Since indirect membership testing is relatively expensive, we cache @@ -5020,7 +5020,7 @@ member_can_set_role(Oid member, Oid role) } /* - * Permission violation eror unless able to SET ROLE to target role. + * Permission violation error unless able to SET ROLE to target role. */ void check_can_set_role(Oid member, Oid role) -- cgit v1.2.3