1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-11 14:50:31 +02:00

use relative block number when reporting corruption

This commit is contained in:
Grigory Smolkin 2020-04-22 19:09:02 +03:00
parent 29897c65e0
commit f86c33a72f

View File

@ -431,7 +431,7 @@ prepare_page(ConnectionArgs *conn_arg,
if (page_size != BLCKSZ)
elog(ERROR, "File: \"%s\", block %u, expected block size %d, but read %zu",
from_fullpath, absolute_blknum, BLCKSZ, page_size);
from_fullpath, blknum, BLCKSZ, page_size);
/*
* We need to copy the page that was successfully