Skip to content

Commit 21fc4aa

Browse files
author
Oleg Gurev
committed
[PBCKP-2473] Skip block validation fixup for local mode only.
Unfortunately remote mode needs to extend ssh agent protocol, that will broke backward compatibility.
1 parent 57339ae commit 21fc4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ validate_one_page(Page page, BlockNumber absolute_blkno,
15311531
/* Verify checksum */
15321532
page_st->checksum = pg_checksum_page(page, absolute_blkno);
15331533

1534-
if (checksum_version)
1534+
if (checksum_version && !skip_block_validation)
15351535
{
15361536
/* Checksums are enabled, so check them. */
15371537
if (page_st->checksum != ((PageHeader) page)->pd_checksum)

0 commit comments

Comments
 (0)