mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user