From 7d7ef075d2b3f3bac4db323c2a47fb15a4a9a817 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Wed, 27 Dec 2023 13:30:12 +0700 Subject: [PATCH] Fix typo and case in messages Follow up to dc2123400 Kyotaro Horiguchi Discussion: https://postgr.es/m/20231222.154939.1509525390095583358.horikyota.ntt@gmail.com Discussion: https://postgr.es/m/20231225.145124.1745560266993421173.horikyota.ntt@gmail.com --- src/backend/backup/basebackup_incremental.c | 2 +- src/bin/pg_combinebackup/pg_combinebackup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/backup/basebackup_incremental.c b/src/backend/backup/basebackup_incremental.c index 42bbe564e2..22b861ce52 100644 --- a/src/backend/backup/basebackup_incremental.c +++ b/src/backend/backup/basebackup_incremental.c @@ -575,7 +575,7 @@ PrepareForIncrementalBackup(IncrementalBackupInfo *ib, tle->tli, LSN_FORMAT_ARGS(tli_start_lsn), LSN_FORMAT_ARGS(tli_end_lsn)), - errdetail("The first unsummarized LSN is this range is %X/%X.", + errdetail("The first unsummarized LSN in this range is %X/%X.", LSN_FORMAT_ARGS(tli_missing_lsn)))); } diff --git a/src/bin/pg_combinebackup/pg_combinebackup.c b/src/bin/pg_combinebackup/pg_combinebackup.c index 49e97fcca8..cef4941d84 100644 --- a/src/bin/pg_combinebackup/pg_combinebackup.c +++ b/src/bin/pg_combinebackup/pg_combinebackup.c @@ -538,7 +538,7 @@ check_control_files(int n_backups, char **backup_dirs) /* Control file contents not meaningful if CRC is bad. */ if (!crc_ok) - pg_fatal("%s: crc is incorrect", controlpath); + pg_fatal("%s: CRC is incorrect", controlpath); /* Can't interpret control file if not current version. */ if (control_file->pg_control_version != PG_CONTROL_VERSION)