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:
parent
29897c65e0
commit
f86c33a72f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user