mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-25 11:53:32 +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.block = blknum;
|
||||||
header.compressed_size = 0;
|
header.compressed_size = 0;
|
||||||
|
|
||||||
|
/* check for interrupt */
|
||||||
|
if (interrupted)
|
||||||
|
elog(ERROR, "Interrupted during backup");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the page and verify its header and checksum.
|
* Read the page and verify its header and checksum.
|
||||||
* Under high write load it's possible that we've read partly
|
* Under high write load it's possible that we've read partly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user