mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-24 11:46:31 +02:00
check for interrupt more frequently
This commit is contained in:
parent
e90714bcd4
commit
963eb2e2c6
@ -242,6 +242,10 @@ backup_data_page(backup_files_args *arguments,
|
||||
header.block = blknum;
|
||||
header.compressed_size = 0;
|
||||
|
||||
/* check for interrupt */
|
||||
if (interrupted)
|
||||
elog(ERROR, "Interrupted during backup");
|
||||
|
||||
/*
|
||||
* Read the page and verify its header and checksum.
|
||||
* Under high write load it's possible that we've read partly
|
||||
|
Loading…
x
Reference in New Issue
Block a user