Re: Why clearing the VM doesn't require registering vm buffer in wal record - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Why clearing the VM doesn't require registering vm buffer in wal record
Date
Msg-id 7wh5hrgp434pxcgdfsokfy4m2dib4v3weulxmymtihtr4zxhxh@zaizt4hyh3q3
Whole thread
In response to Why clearing the VM doesn't require registering vm buffer in wal record  (Melanie Plageman <melanieplageman@gmail.com>)
List pgsql-hackers
Hi,

On 2026-03-05 14:56:13 -0500, Melanie Plageman wrote:
> Today Andres and I noticed that heap_{update,insert,delete}() don't
> register the VM buffer when they are clearing the VM. I was under the
> impression that any buffers modified needed to be registered in the
> WAL record. Without which, you'll never do an FPI. It seems like this
> could cause checksum failures. What are we missing?

Besides checksum errors, I was also worried that this would break
pg_rewind. But it seems we're saved by pg_rewind only parsing the WAL for
changes to the main fork.

But it does seem like it could be a problem for incremental backup /
walsummarizer?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: Improve OAuth discovery logging
Next
From: Corey Huinker
Date:
Subject: Re: Add expressions to pg_restore_extended_stats()