agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Test that VM clear registers VM buffers
Date: Wed, 15 Jul 2026 21:25:51 +0000
Message-ID: <E1wk770-000Lwz-1e@gemulon.postgresql.org> (raw)

Test that VM clear registers VM buffers

The WAL summarizer only tracks registered buffers, so unregistered VM
clears are ommitted from incremental backups, corrupting the restored
visibility map. Test those cases are now fixed.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru>
Discussion: https://postgr.es/m/oqcsevg35xjan2327x5kdfth6q4fgeqboxfo3v3imeyih2uiny%406sez5dzxl6nt
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5174d157a0381876cb1c6c5903c1844669d5bbc2

Modified Files
--------------
src/bin/pg_combinebackup/Makefile                |   2 +
src/bin/pg_combinebackup/meson.build             |   1 +
src/bin/pg_combinebackup/t/012_vm_consistency.pl | 258 +++++++++++++++++++++++
3 files changed, 261 insertions(+)



view thread (4+ messages)  latest in thread

Message-ID: <E1wk770-000Lwz-1e@gemulon.postgresql.org>
Permalink:  ../E1wk770-000Lwz-1e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wk770-000Lwz-1e@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: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Test that VM clear registers VM buffers
  In-Reply-To: <E1wk770-000Lwz-1e@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