We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b9650c commit 576b4b0Copy full SHA for 576b4b0
src/merge.c
@@ -80,7 +80,7 @@ do_merge(time_t backup_id)
80
base36enc(backup->start_time), status2str(backup->status));
81
82
if (backup->backup_mode == BACKUP_MODE_FULL)
83
- elog(ERROR, "Backup %s if full backup",
+ elog(ERROR, "Backup %s is full backup",
84
base36enc(backup->start_time));
85
86
dest_backup = backup;
@@ -431,7 +431,7 @@ merge_files(void *arg)
431
char tmp_file_path[MAXPGPATH];
432
char *prev_path;
433
434
- join_path_components(tmp_file_path, to_path_tmp, "_tmp");
+ snprintf(tmp_file_path, MAXPGPATH, "%s_tmp", to_path_tmp);
435
436
/* Start the magic */
437
0 commit comments