mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
use relative block number when reporting corruption
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user