diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-06-29 09:26:14 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-06-29 09:28:46 +0300 |
commit | 21f1e15aafb13ab2430e831a3da7d4d4f525d1ce (patch) | |
tree | 5afdaf08c48c5e29d17590c9db4213d79174f111 /src/backend/access | |
parent | 465883b0a2b4236ba6b31b648a9eabef3b7cdddb (diff) | |
download | postgresql-21f1e15aafb13ab2430e831a3da7d4d4f525d1ce.tar.gz postgresql-21f1e15aafb13ab2430e831a3da7d4d4f525d1ce.zip |
Unify spelling of "canceled", "canceling", "cancellation"
We had previously (af26857a2775e7ceb0916155e931008c2116632f)
established the U.S. spellings as standard.
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/transam/xlog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 178a458eb78..a7f53730286 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8379,13 +8379,13 @@ xlog_redo(XLogRecPtr lsn, XLogRecord *record) /* * If we see a shutdown checkpoint while waiting for an end-of-backup - * record, the backup was cancelled and the end-of-backup record will + * record, the backup was canceled and the end-of-backup record will * never arrive. */ if (InArchiveRecovery && !XLogRecPtrIsInvalid(ControlFile->backupStartPoint)) ereport(ERROR, - (errmsg("online backup was cancelled, recovery cannot continue"))); + (errmsg("online backup was canceled, recovery cannot continue"))); /* * If we see a shutdown checkpoint, we know that nothing was running @@ -9341,7 +9341,7 @@ do_pg_stop_backup(char *labelfile, bool waitforarchive) (errmsg("pg_stop_backup still waiting for all required WAL segments to be archived (%d seconds elapsed)", waits), errhint("Check that your archive_command is executing properly. " - "pg_stop_backup can be cancelled safely, " + "pg_stop_backup can be canceled safely, " "but the database backup will not be usable without all the WAL segments."))); } } @@ -9823,13 +9823,13 @@ CancelBackup(void) if (stat(BACKUP_LABEL_FILE, &stat_buf) < 0) return; - /* remove leftover file from previously cancelled backup if it exists */ + /* remove leftover file from previously canceled backup if it exists */ unlink(BACKUP_LABEL_OLD); if (rename(BACKUP_LABEL_FILE, BACKUP_LABEL_OLD) == 0) { ereport(LOG, - (errmsg("online backup mode cancelled"), + (errmsg("online backup mode canceled"), errdetail("\"%s\" was renamed to \"%s\".", BACKUP_LABEL_FILE, BACKUP_LABEL_OLD))); } @@ -9837,7 +9837,7 @@ CancelBackup(void) { ereport(WARNING, (errcode_for_file_access(), - errmsg("online backup mode was not cancelled"), + errmsg("online backup mode was not canceled"), errdetail("Could not rename \"%s\" to \"%s\": %m.", BACKUP_LABEL_FILE, BACKUP_LABEL_OLD))); } |