pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove XLOG_HEAP2_VISIBLE entirely
Date: Tue, 24 Mar 2026 22:00:58 +0000
Message-ID: <E1w59o1-001Igw-2p@gemulon.postgresql.org> (raw )
Remove XLOG_HEAP2_VISIBLE entirely
There are no remaining users that emit XLOG_HEAP2_VISIBLE records, so it
can be removed. This includes deleting the xl_heap_visible struct and
all functions responsible for emitting or replaying XLOG_HEAP2_VISIBLE
records.
Bumps XLOG_PAGE_MAGIC because we removed a WAL record type.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_ZMw6Npd_qm2KM%2BFwQ3cMOMx1Dh3VMhp8-V7SOLxdK9-g%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a881cc9c7e819fb26b73bb43b35d43db6b795cc7
Modified Files
--------------
src/backend/access/common/bufmask.c | 5 +-
src/backend/access/heap/heapam.c | 54 +----------
src/backend/access/heap/heapam_xlog.c | 156 ++-----------------------------
src/backend/access/heap/pruneheap.c | 4 +-
src/backend/access/heap/vacuumlazy.c | 16 ++--
src/backend/access/heap/visibilitymap.c | 151 ++++++------------------------
src/backend/access/rmgrdesc/heapdesc.c | 10 --
src/backend/replication/logical/decode.c | 1 -
src/backend/storage/ipc/standby.c | 9 +-
src/include/access/heapam_xlog.h | 21 +----
src/include/access/visibilitymap.h | 13 +--
src/include/access/visibilitymapdefs.h | 9 --
src/include/access/xlog_internal.h | 2 +-
src/tools/pgindent/typedefs.list | 1 -
14 files changed, 65 insertions(+), 387 deletions(-)
Message-ID: <E1w59o1-001Igw-2p@gemulon.postgresql.org>
Permalink: ../E1w59o1-001Igw-2p@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1w59o1-001Igw-2p@gemulon.postgresql.org
copy link · copy postgr.es
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: Remove XLOG_HEAP2_VISIBLE entirely
In-Reply-To: <E1w59o1-001Igw-2p@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox