@@ -585,7 +585,7 @@ backup_data_file(backup_files_arg* arguments,
585585}
586586
587587if (file -> size %BLCKSZ != 0 )
588- elog (WARNING ,"File:%s , invalid file size %zu" ,file -> path ,file -> size );
588+ elog (WARNING ,"File:\"%s\" , invalid file size %zu" ,file -> path ,file -> size );
589589
590590/*
591591 * Compute expected number of blocks in the file.
@@ -622,7 +622,7 @@ backup_data_file(backup_files_arg* arguments,
622622if (rc == PAGE_CHECKSUM_MISMATCH && is_ptrack_support )
623623gotoRetryUsingPtrack ;
624624if (rc < 0 )
625- elog (ERROR ,"Failed to read file%s : %s" ,
625+ elog (ERROR ,"Failed to read file\"%s\" : %s" ,
626626file -> path ,rc == PAGE_CHECKSUM_MISMATCH ?"data file checksum mismatch" :strerror (- rc ));
627627n_blocks_read = rc ;
628628}
@@ -1209,10 +1209,7 @@ check_data_file(ConnectionArgs *arguments,
12091209}
12101210
12111211if (file -> size %BLCKSZ != 0 )
1212- {
1213- fclose (in );
1214- elog (WARNING ,"File: %s, invalid file size %zu" ,file -> path ,file -> size );
1215- }
1212+ elog (WARNING ,"File: \"%s\", invalid file size %zu" ,file -> path ,file -> size );
12161213
12171214/*
12181215 * Compute expected number of blocks in the file.