1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00

check for interrupt when running show

This commit is contained in:
Grigory Smolkin 2020-10-30 02:33:21 +03:00
parent 3df428871d
commit e8def1d344

View File

@ -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)