mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 14:21:49 +03:00
pg_combinebackup: Message style improvements
This commit is contained in:
parent
73e7361376
commit
c061000311
@ -330,7 +330,7 @@ copy_file_link(const char *src, const char *dest,
|
|||||||
pg_checksum_context *checksum_ctx)
|
pg_checksum_context *checksum_ctx)
|
||||||
{
|
{
|
||||||
if (link(src, dest) < 0)
|
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);
|
src, dest);
|
||||||
|
|
||||||
/* if needed, calculate checksum of the file */
|
/* if needed, calculate checksum of the file */
|
||||||
|
@ -432,7 +432,7 @@ main(int argc, char *argv[])
|
|||||||
/* Warn about the possibility of compromising the backups, when link mode */
|
/* Warn about the possibility of compromising the backups, when link mode */
|
||||||
if (opt.copy_method == COPY_METHOD_LINK)
|
if (opt.copy_method == COPY_METHOD_LINK)
|
||||||
pg_log_warning("--link mode was used; any modifications to the output "
|
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. */
|
/* It's a success, so don't remove the output directories. */
|
||||||
reset_directory_cleanup_list();
|
reset_directory_cleanup_list();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user