aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/adt/misc.c2
-rw-r--r--src/backend/utils/adt/numeric.c2
-rw-r--r--src/backend/utils/time/tqual.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c
index 10133f21fac..5e705e93084 100644
--- a/src/backend/utils/adt/misc.c
+++ b/src/backend/utils/adt/misc.c
@@ -532,7 +532,7 @@ pg_sleep(PG_FUNCTION_ARGS)
* By computing the intended stop time initially, we avoid accumulation of
* extra delay across multiple sleeps. This also ensures we won't delay
* less than the specified time when WaitLatch is terminated early by a
- * non-query-cancelling signal such as SIGHUP.
+ * non-query-canceling signal such as SIGHUP.
*/
#ifdef HAVE_INT64_TIMESTAMP
diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c
index f49e113e5e7..2fbdfe07582 100644
--- a/src/backend/utils/adt/numeric.c
+++ b/src/backend/utils/adt/numeric.c
@@ -7289,7 +7289,7 @@ div_var_fast(NumericVar *var1, NumericVar *var2, NumericVar *result,
* But having said that: div[qi] can be more than INT_MAX/NBASE, as
* noted above, which means that the product div[qi] * NBASE *can*
* overflow. When that happens, adding it to div[qi + 1] will always
- * cause a cancelling overflow so that the end result is correct. We
+ * cause a canceling overflow so that the end result is correct. We
* could avoid the intermediate overflow by doing the multiplication
* and addition in int64 arithmetic, but so far there appears no need.
*/
diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c
index a08dae10974..2960455d6e3 100644
--- a/src/backend/utils/time/tqual.c
+++ b/src/backend/utils/time/tqual.c
@@ -419,7 +419,7 @@ HeapTupleSatisfiesToast(HeapTuple htup, Snapshot snapshot,
/*
* An invalid Xmin can be left behind by a speculative insertion that
- * is cancelled by super-deleting the tuple. We shouldn't see any of
+ * is canceled by super-deleting the tuple. We shouldn't see any of
* those in TOAST tables, but better safe than sorry.
*/
else if (!TransactionIdIsValid(HeapTupleHeaderGetXmin(tuple)))