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

From Andrey Borodin
Subject Re: Why clearing the VM doesn't require registering vm buffer in wal record
Date
Msg-id EF2A8B6A-CAA8-4D31-8E6A-683B35DA189C@yandex-team.ru
Whole thread
In response to Re: Why clearing the VM doesn't require registering vm buffer in wal record  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Why clearing the VM doesn't require registering vm buffer in wal record
Re: Why clearing the VM doesn't require registering vm buffer in wal record
List pgsql-hackers

> On 27 Jun 2026, at 01:05, Robert Haas <robertmhaas@gmail.com> wrote:
>
> Apparently these patches are based on an old commit, or you have some
> other local patches. Can you specify a commit to apply them to, and/or
> rebase?

v3 set applies cleanly on REL_18_STABLE. +1 on backpatching this. I've done some
mechanical checks on the 18 variant: the new 012_vm_consistency test is green
(and goes red without the fix), and minor-version WAL compatibility holds:
WAL replays both ways between patched and unpatched 18.4 (patched replays
old-format records via the fallback path; unpatched harmlessly ignores the added
VM block refs).

Did I get it right that we will not have this

+ * Backwards compatibility path. Previously, the VM buffers were

on v19?


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: "ZizhuanLiu X-MAN"
Date:
Subject: Re: Return value of XLogInsertRecord() for XLOG_SWITCH record
Next
From: Tatsuya Kawata
Date:
Subject: Re: Add per-backend lock statistics