Move logic related to WAL replay of Heap/Heap2 into its own file
authorMichael Paquier <michael@paquier.xyz>
Thu, 12 Sep 2024 04:32:05 +0000 (13:32 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 12 Sep 2024 04:32:05 +0000 (13:32 +0900)
commit00c76cf21c42c17e60e73a87dea0d1b4e234d9da
treef5d279796ec79c05e79c6da4b460b9f881dc775f
parent9fba1ed2947382af213dfbfabfcd8898c89bf4ca
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
src/backend/access/heap/Makefile
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam_xlog.c [new file with mode: 0644]
src/backend/access/heap/meson.build
src/include/access/heapam.h