pgsql: Don't log page zeroing when checksum failures are ignored

Started by Daniel Gustafsson2 months ago1 messagescommitters
Jump to latest
#1Daniel Gustafsson
dgustafsson@postgresql.org

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 <daniel@yesql.se>
Discussion: /messages/by-id/E15AC050-C4B5-488D-BB2D-3C7AC9F89EA8@yesql.se
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(-)