1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

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
This commit is contained in:
Michael Paquier
2024-09-12 13:32:05 +09:00
parent 9fba1ed294
commit 00c76cf21c
5 changed files with 1366 additions and 1339 deletions

View File

@@ -16,6 +16,7 @@ OBJS = \
heapam.o \
heapam_handler.o \
heapam_visibility.o \
heapam_xlog.o \
heaptoast.o \
hio.o \
pruneheap.o \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,7 @@ backend_sources += files(
'heapam.c',
'heapam_handler.c',
'heapam_visibility.c',
'heapam_xlog.c',
'heaptoast.c',
'hio.c',
'pruneheap.c',