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
+1 -1
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