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 <[email protected]>
Reviewed-by: Andrey Borodin <[email protected]>
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(+)

Reply via email to