pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move logic related to WAL replay of Heap/Heap2 into its own file
Date: Thu, 12 Sep 2024 04:32:18 +0000
Message-ID: <E1sobVB-000geQ-TW@gemulon.postgresql.org> (raw)

Move logic related to WAL replay of Heap/Heap2 into its own file

This brings more clarity to heapam.c, by cleanly separating all the
logic related to WAL replay and the rest of Heap and Heap2, similarly
to other RMGRs like hash, btree, etc.

The header reorganization is also nice in heapam.c, cutting half of the
headers required.

Author: Li Yong
Reviewed-by: Sutou Kouhei, Michael Paquier
Discussion: https://postgr.es/m/EFE55E65-D7BD-4C6A-B630-91F43FD0771B@ebay.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/00c76cf21c42c17e60e73a87dea0d1b4e234d9da

Modified Files
--------------
src/backend/access/heap/Makefile      |    1 +
src/backend/access/heap/heapam.c      | 1339 ---------------------------------
src/backend/access/heap/heapam_xlog.c | 1339 +++++++++++++++++++++++++++++++++
src/backend/access/heap/meson.build   |    1 +
src/include/access/heapam.h           |   25 +
5 files changed, 1366 insertions(+), 1339 deletions(-)



Message-ID: <E1sobVB-000geQ-TW@gemulon.postgresql.org>
Permalink:  ../E1sobVB-000geQ-TW@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sobVB-000geQ-TW@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move logic related to WAL replay of Heap/Heap2 into its own file
  In-Reply-To: <E1sobVB-000geQ-TW@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