Skip to content

Commit 3eb238b

Browse files
committed
Merge branch 'REL_2_5' into REL_2_6
2 parents df07a52 + 44fef88 commit 3eb238b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backup.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,13 +881,13 @@ do_backup(InstanceState *instanceState, pgSetBackupParams *set_backup_params,
881881
pretty_size(current.data_bytes + current.wal_bytes, pretty_bytes, lengthof(pretty_bytes));
882882
else
883883
pretty_size(current.data_bytes, pretty_bytes, lengthof(pretty_bytes));
884-
elog(INFO, "Backup %s resident size: %s", base36enc(current.start_time), pretty_bytes);
884+
elog(INFO, "Backup %s resident size: %s", backup_id_of(&current), pretty_bytes);
885885

886886
if (current.status == BACKUP_STATUS_OK ||
887887
current.status == BACKUP_STATUS_DONE)
888-
elog(INFO, "Backup %s completed", base36enc(current.start_time));
888+
elog(INFO, "Backup %s completed", backup_id_of(&current));
889889
else
890-
elog(ERROR, "Backup %s failed", base36enc(current.start_time));
890+
elog(ERROR, "Backup %s failed", backup_id_of(&current));
891891

892892
/*
893893
* After successful backup completion remove backups
@@ -1955,7 +1955,7 @@ backup_cleanup(bool fatal, void *userdata)
19551955
if (current.status == BACKUP_STATUS_RUNNING && current.end_time == 0)
19561956
{
19571957
elog(WARNING, "Backup %s is running, setting its status to ERROR",
1958-
base36enc(current.start_time));
1958+
backup_id_of(&current));
19591959
current.end_time = time(NULL);
19601960
current.status = BACKUP_STATUS_ERROR;
19611961
write_backup(&current, true);

0 commit comments

Comments
 (0)