diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2025-10-09 16:25:50 -0400 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2025-10-09 16:29:01 -0400 |
commit | d96f87332b3786abd23cba47459546799c562b8c (patch) | |
tree | 4f4fdd37f5047ec9b09dee98679983c6545999df /src/backend/storage/buffer/bufmgr.c | |
parent | 1b073cba4993b31fbf820504f297efce5d951c00 (diff) |
Eliminate COPY FREEZE use of XLOG_HEAP2_VISIBLE
Instead of emitting a separate WAL XLOG_HEAP2_VISIBLE record for setting
bits in the VM, specify the VM block changes in the
XLOG_HEAP2_MULTI_INSERT record.
This halves the number of WAL records emitted by COPY FREEZE.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_ZMw6Npd_qm2KM%2BFwQ3cMOMx1Dh3VMhp8-V7SOLxdK9-g%40mail.gmail.com
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
0 files changed, 0 insertions, 0 deletions