Don't log page zeroing when checksum failures are ignored

When checksum failures are ignored, the page won't be zeroed on error
even if zero_damaged_pages is set.  Found via review by GPT-6.

Author: Daniel Gustafsson <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6547a2f6cccf8cfbfdd91a0b278bb65f0b00bdd2

Modified Files
--------------
src/backend/storage/page/bufpage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to