Move logic related to WAL replay of Heap/Heap2 into its own file
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +0 −1339 |
| src/backend/access/heap/heapam_xlog.c | added | +1339 −0 |
| src/backend/access/heap/Makefile | modified | +1 −0 |
| src/backend/access/heap/meson.build | modified | +1 −0 |
| src/include/access/heapam.h | modified | +25 −0 |
Discussion
- Separate HEAP WAL replay logic into its own file 14 messages · 2024-06-17 → 2024-09-18