mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-03 09:59:53 +02:00
check for interrupt when running show
This commit is contained in:
parent
3df428871d
commit
e8def1d344
@ -101,6 +101,9 @@ do_show(const char *instance_name, time_t requested_backup_id, bool show_archive
|
||||
InstanceConfig *instance = parray_get(instances, i);
|
||||
char backup_instance_path[MAXPGPATH];
|
||||
|
||||
if (interrupted)
|
||||
elog(ERROR, "Interrupted during show");
|
||||
|
||||
sprintf(backup_instance_path, "%s/%s/%s", backup_path, BACKUPS_DIR, instance->name);
|
||||
|
||||
if (show_archive)
|
||||
|
Loading…
Reference in New Issue
Block a user