Skip to content

Commit 63cfdb8

Browse files
committed
Adjust spellings of forms of "cancel"
1 parent 3aed52a commit 63cfdb8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/backend/optimizer/util/orclauses.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static void consider_new_or_clause(PlannerInfo *root, RelOptInfo *rel,
5454
* fault is not really in the transformation, but in clauselist_selectivity's
5555
* inability to recognize redundant conditions.) We can compensate for this
5656
* redundancy by changing the cached selectivity of the original OR clause,
57-
* cancelling out the (valid) reduction in the estimated sizes of the base
57+
* canceling out the (valid) reduction in the estimated sizes of the base
5858
* relations so that the estimated joinrel size remains the same. This is
5959
* a MAJOR HACK: it depends on the fact that clause selectivities are cached
6060
* and on the fact that the same RestrictInfo node will appear in every

src/backend/storage/ipc/standby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ ResolveRecoveryConflictWithDatabase(Oid dbid)
348348
* We either resolve conflicts immediately or set a timeout to wake us at
349349
* the limit of our patience.
350350
*
351-
* Resolve conflicts by cancelling to all backends holding a conflicting
351+
* Resolve conflicts by canceling to all backends holding a conflicting
352352
* lock. As we are already queued to be granted the lock, no new lock
353353
* requests conflicting with ours will be granted in the meantime.
354354
*

src/backend/utils/adt/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ pg_sleep(PG_FUNCTION_ARGS)
532532
* By computing the intended stop time initially, we avoid accumulation of
533533
* extra delay across multiple sleeps. This also ensures we won't delay
534534
* less than the specified time when WaitLatch is terminated early by a
535-
* non-query-cancelling signal such as SIGHUP.
535+
* non-query-canceling signal such as SIGHUP.
536536
*/
537537

538538
#ifdef HAVE_INT64_TIMESTAMP

src/backend/utils/adt/numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7289,7 +7289,7 @@ div_var_fast(NumericVar *var1, NumericVar *var2, NumericVar *result,
72897289
* But having said that: div[qi] can be more than INT_MAX/NBASE, as
72907290
* noted above, which means that the product div[qi] * NBASE *can*
72917291
* overflow. When that happens, adding it to div[qi + 1] will always
7292-
* cause a cancelling overflow so that the end result is correct. We
7292+
* cause a canceling overflow so that the end result is correct. We
72937293
* could avoid the intermediate overflow by doing the multiplication
72947294
* and addition in int64 arithmetic, but so far there appears no need.
72957295
*/

src/backend/utils/time/tqual.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ HeapTupleSatisfiesToast(HeapTuple htup, Snapshot snapshot,
419419

420420
/*
421421
* An invalid Xmin can be left behind by a speculative insertion that
422-
* is cancelled by super-deleting the tuple. We shouldn't see any of
422+
* is canceled by super-deleting the tuple. We shouldn't see any of
423423
* those in TOAST tables, but better safe than sorry.
424424
*/
425425
else if (!TransactionIdIsValid(HeapTupleHeaderGetXmin(tuple)))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy