]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
pg_combinebackup: Message style improvements
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 28 Apr 2025 12:26:49 +0000 (14:26 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 28 Apr 2025 12:26:49 +0000 (14:26 +0200)
src/bin/pg_combinebackup/copy_file.c
src/bin/pg_combinebackup/pg_combinebackup.c

index b0c94f6ee311bad9547ce0e02fdc3cf1426e76bf..db6c86223bbdadcf18353c434002cec5b5ce793f 100644 (file)
@@ -330,7 +330,7 @@ copy_file_link(const char *src, const char *dest,
                           pg_checksum_context *checksum_ctx)
 {
        if (link(src, dest) < 0)
-               pg_fatal("error while linking file from \"%s\" to \"%s\": %m",
+               pg_fatal("could not create link from \"%s\" to \"%s\": %m",
                                 src, dest);
 
        /* if needed, calculate checksum of the file */
index 69e5fd31a73412e1bfa5f84442a9251ee4777da5..28e58cd8ef458038db3987c7f4fc991934e69a65 100644 (file)
@@ -432,7 +432,7 @@ main(int argc, char *argv[])
        /* Warn about the possibility of compromising the backups, when link mode */
        if (opt.copy_method == COPY_METHOD_LINK)
                pg_log_warning("--link mode was used; any modifications to the output "
-                                          "directory may destructively modify input directories");
+                                          "directory might destructively modify input directories");
 
        /* It's a success, so don't remove the output directories. */
        reset_directory_cleanup_list();