Skip to content

Commit c061000

Browse files
committed
pg_combinebackup: Message style improvements
1 parent 73e7361 commit c061000

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_combinebackup/copy_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ copy_file_link(const char *src, const char *dest,
330330
pg_checksum_context *checksum_ctx)
331331
{
332332
if (link(src, dest) < 0)
333-
pg_fatal("error while linking file from \"%s\" to \"%s\": %m",
333+
pg_fatal("could not create link from \"%s\" to \"%s\": %m",
334334
src, dest);
335335

336336
/* if needed, calculate checksum of the file */

src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ main(int argc, char *argv[])
432432
/* Warn about the possibility of compromising the backups, when link mode */
433433
if (opt.copy_method == COPY_METHOD_LINK)
434434
pg_log_warning("--link mode was used; any modifications to the output "
435-
"directory may destructively modify input directories");
435+
"directory might destructively modify input directories");
436436

437437
/* It's a success, so don't remove the output directories. */
438438
reset_directory_cleanup_list();

0 commit comments

Comments
 (0)