Skip to content

Commit 8c9da14

Browse files
committed
Make spelling of cancelled/cancellation consistent
This fixes places where words derived from cancel were not using their common en-US ugly^H^H^H^Hspelling. Author: Jelte Fennema-Nio <postgres@jeltef.nl> Reported-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/CA+hUKG+Lrq+ty6yWXF5572qNQ8KwxGwG5n4fsEcCUap685nWvQ@mail.gmail.com
1 parent 64444ce commit 8c9da14

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/src/sgml/event-trigger.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
writing anything to the database when running on a standby.
5151
Also, it's recommended to avoid long-running queries in
5252
<literal>login</literal> event triggers. Notes that, for instance,
53-
cancelling connection in <application>psql</application> wouldn't cancel
53+
canceling connection in <application>psql</application> wouldn't cancel
5454
the in-progress <literal>login</literal> trigger.
5555
</para>
5656

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7625,7 +7625,7 @@ defaultNoticeProcessor(void *arg, const char *message)
76257625
is called. It is the ideal time to initialize any
76267626
<literal>instanceData</literal> an event procedure may need. Only one
76277627
register event will be fired per event handler per connection. If the
7628-
event procedure fails (returns zero), the registration is cancelled.
7628+
event procedure fails (returns zero), the registration is canceled.
76297629

76307630
<synopsis>
76317631
typedef struct

src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
13531353
* coding means that there is a tiny chance that the process
13541354
* terminates its current transaction and starts a different one
13551355
* before we have a change to send the signal; the worst possible
1356-
* consequence is that a for-wraparound vacuum is cancelled. But
1356+
* consequence is that a for-wraparound vacuum is canceled. But
13571357
* that could happen in any case unless we were to do kill() with
13581358
* the lock held, which is much more undesirable.
13591359
*/

src/test/isolation/specs/detach-partition-concurrently-4.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This test exercises behavior of foreign keys in the face of concurrent
22
# detach of partitions in the referenced table.
3-
# (The cases where the detaching transaction is cancelled is interesting
3+
# (The cases where the detaching transaction is canceled is interesting
44
# because the locking situation is completely different. I didn't verify
55
# that keeping both variants adds any extra coverage.)
66
#

src/test/recovery/t/001_stream_rep.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ sub replay_check
601601
ok( pump_until(
602602
$sigchld_bb, $sigchld_bb_timeout,
603603
\$sigchld_bb_stderr, qr/backup is not in progress/),
604-
'base backup cleanly cancelled');
604+
'base backup cleanly canceled');
605605
$sigchld_bb->finish();
606606

607607
done_testing();

0 commit comments

Comments
 (0)