diff options
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-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))); } |