agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't log page zeroing when checksum failures are ignored
Date: Mon, 14 Sep 2026 13:34:14 +0000
Message-ID: <E1x66p4-00000000I6Z-33iS@gemulon.postgresql.org> (raw)

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: https://postgr.es/m/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(-)



Message-ID: <E1x66p4-00000000I6Z-33iS@gemulon.postgresql.org>
Permalink:  ../E1x66p4-00000000I6Z-33iS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x66p4-00000000I6Z-33iS@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Don't log page zeroing when checksum failures are ignored
  In-Reply-To: <E1x66p4-00000000I6Z-33iS@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox