mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-23 11:45:36 +02:00
minor fix
This commit is contained in:
parent
498134fe12
commit
f7313c1ade
@ -217,14 +217,14 @@ do_backup_instance(PGconn *backup_conn, PGNodeInfo *nodeInfo, bool no_sync)
|
|||||||
|
|
||||||
if (prev_backup)
|
if (prev_backup)
|
||||||
{
|
{
|
||||||
|
char prev_backup_filelist_path[MAXPGPATH];
|
||||||
|
|
||||||
if (parse_program_version(prev_backup->program_version) > parse_program_version(PROGRAM_VERSION))
|
if (parse_program_version(prev_backup->program_version) > parse_program_version(PROGRAM_VERSION))
|
||||||
elog(ERROR, "pg_probackup binary version is %s, but backup %s version is %s. "
|
elog(ERROR, "pg_probackup binary version is %s, but backup %s version is %s. "
|
||||||
"pg_probackup do not guarantee to be forward compatible. "
|
"pg_probackup do not guarantee to be forward compatible. "
|
||||||
"Please upgrade pg_probackup binary.",
|
"Please upgrade pg_probackup binary.",
|
||||||
PROGRAM_VERSION, base36enc(prev_backup->start_time), prev_backup->program_version);
|
PROGRAM_VERSION, base36enc(prev_backup->start_time), prev_backup->program_version);
|
||||||
|
|
||||||
char prev_backup_filelist_path[MAXPGPATH];
|
|
||||||
|
|
||||||
elog(INFO, "Parent backup: %s", base36enc(prev_backup->start_time));
|
elog(INFO, "Parent backup: %s", base36enc(prev_backup->start_time));
|
||||||
|
|
||||||
join_path_components(prev_backup_filelist_path, prev_backup->root_dir,
|
join_path_components(prev_backup_filelist_path, prev_backup->root_dir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user