diff options
author | David Rowley <drowley@postgresql.org> | 2023-04-18 13:23:23 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-04-18 13:23:23 +1200 |
commit | b4dbf3e924b2556acbe103dc61ac71f9985ff24f (patch) | |
tree | 179232a4dbf525790273dfbdd3a4f58e30225d56 /src/backend/utils/misc/guc.c | |
parent | e39d512f3e9b1e34ffba77c8fe120c2675f6873b (diff) |
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
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r-- | src/backend/utils/misc/guc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 7d3b20168a0..9dd624b3ae0 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -1387,7 +1387,7 @@ check_GUC_name_for_parameter_acl(const char *name) * * This performs two sanity checks. First, it checks that the initial * value of a GUC is the same when declared and when loaded to prevent - * anybody looking at the C declarations of these GUCS from being fooled by + * anybody looking at the C declarations of these GUCs from being fooled by * mismatched values. Second, it checks for incorrect flag combinations. * * The following validation rules apply for the values: @@ -6272,7 +6272,7 @@ ProcessGUCArray(ArrayType *array, ArrayType *usersetArray, userSetDatum = BoolGetDatum(false); /* - * USER SET values are appliciable only for PGC_USERSET parameters. We + * USER SET values are applicable only for PGC_USERSET parameters. We * use InvalidOid as role in order to evade possible privileges of the * current user. */ @@ -6365,8 +6365,8 @@ GUCArrayAdd(ArrayType *array, ArrayType **usersetArray, } /* - * Recheck permissons if we found an option without USER SET - * flag while we're setting an optionn with USER SET flag. + * Recheck permissions if we found an option without USER SET + * flag while we're setting an option with USER SET flag. */ if (!currentUserSet && user_set) (void) validate_option_array_item(name, value, |