Fix typo and case in messages
authorJohn Naylor
Wed, 27 Dec 2023 06:30:12 +0000 (13:30 +0700)
committerJohn Naylor
Wed, 27 Dec 2023 06:31:54 +0000 (13:31 +0700)
Follow up to dc2123400

Kyotaro Horiguchi

Discussion: https://postgr.es/m/20231222.154939.1509525390095583358[email protected]
Discussion: https://postgr.es/m/20231225.145124.1745560266993421173[email protected]

src/backend/backup/basebackup_incremental.c
src/bin/pg_combinebackup/pg_combinebackup.c

index 42bbe564e264261411f7360a77408e7aa24bd366..22b861ce528847177af46e32de26cd9fc2335f3e 100644 (file)
@@ -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))));
        }
 
index 49e97fcca87f31a823eea82e08369636f8f5757b..cef4941d84601e71f6686a20336045dbda7daf41 100644 (file)
@@ -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)