Skip to content

Commit e8def1d

Browse files
committed
check for interrupt when running show
1 parent 3df4288 commit e8def1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/show.c

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ do_show(const char *instance_name, time_t requested_backup_id, bool show_archive
101101
InstanceConfig *instance = parray_get(instances, i);
102102
char backup_instance_path[MAXPGPATH];
103103

104+
if (interrupted)
105+
elog(ERROR, "Interrupted during show");
106+
104107
sprintf(backup_instance_path, "%s/%s/%s", backup_path, BACKUPS_DIR, instance->name);
105108

106109
if (show_archive)

0 commit comments

Comments
 (0)