diff options
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/storage/ipc/procarray.c | 2 | ||||
-rw-r--r-- | src/backend/tcop/postgres.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/jsonfuncs.c | 2 | ||||
-rw-r--r-- | src/backend/utils/mb/stringinfo_mb.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index cfb88db4a4d..738c0484d33 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -3028,7 +3028,7 @@ TerminateOtherDBBackends(Oid databaseId) /* * Check whether we have the necessary rights to terminate other - * sessions. We don't terminate any session untill we ensure that we + * sessions. We don't terminate any session until we ensure that we * have rights on all the sessions to be terminated. These checks are * the same as we do in pg_terminate_backend. * diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 21214317a79..5b677863b9c 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2338,7 +2338,7 @@ check_log_duration(char *msec_str, bool was_logged) /* * Do not log if log_statement_sample_rate = 0. Log a sample if - * log_statement_sample_rate <= 1 and avoid unecessary random() call + * log_statement_sample_rate <= 1 and avoid unnecessary random() call * if log_statement_sample_rate = 1. */ if (exceeded_sample_duration) diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c index 4b5007e0d6f..9b86bdcb22a 100644 --- a/src/backend/utils/adt/jsonfuncs.c +++ b/src/backend/utils/adt/jsonfuncs.c @@ -489,7 +489,7 @@ static void transform_string_values_scalar(void *state, char *token, JsonTokenTy /* * pg_parse_json_or_ereport * - * This fuction is like pg_parse_json, except that it does not return a + * This function is like pg_parse_json, except that it does not return a * JsonParseErrorType. Instead, in case of any failure, this function will * ereport(ERROR). */ diff --git a/src/backend/utils/mb/stringinfo_mb.c b/src/backend/utils/mb/stringinfo_mb.c index 791a667daea..d7cf3751aa3 100644 --- a/src/backend/utils/mb/stringinfo_mb.c +++ b/src/backend/utils/mb/stringinfo_mb.c @@ -1,7 +1,7 @@ /*------------------------------------------------------------------------- * * stringinfo_mb.c - * Multibyte encoding-aware additional StringInfo facilites + * Multibyte encoding-aware additional StringInfo facilities * * This is separate from common/stringinfo.c so that frontend users * of that file need not pull in unnecessary multibyte-encoding support |