aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-04-28 14:26:49 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-04-28 14:26:49 +0200
commitc061000311029d2ef0129ad5eee32e698221d43d (patch)
tree6158fd082dd7bf2c08045e442273f69ab5df44cd /src
parent73e736137616b86d8bc21ec3cba098e187d883d5 (diff)
downloadpostgresql-c061000311029d2ef0129ad5eee32e698221d43d.tar.gz
postgresql-c061000311029d2ef0129ad5eee32e698221d43d.zip
pg_combinebackup: Message style improvements
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_combinebackup/copy_file.c2
-rw-r--r--src/bin/pg_combinebackup/pg_combinebackup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_combinebackup/copy_file.c b/src/bin/pg_combinebackup/copy_file.c
index b0c94f6ee31..db6c86223bb 100644
--- a/src/bin/pg_combinebackup/copy_file.c
+++ b/src/bin/pg_combinebackup/copy_file.c
@@ -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 */
diff --git a/src/bin/pg_combinebackup/pg_combinebackup.c b/src/bin/pg_combinebackup/pg_combinebackup.c
index 69e5fd31a73..28e58cd8ef4 100644
--- a/src/bin/pg_combinebackup/pg_combinebackup.c
+++ b/src/bin/pg_combinebackup/pg_combinebackup.c
@@ -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();