Formalize WAL record for XLOG_CHECKPOINT_REDO
Daniel Gustafsson <dgustafsson@postgresql.org>
Author:
Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2026-03-31T07:38:01Z
Releases:
19 (unreleased)
Formalize WAL record for XLOG_CHECKPOINT_REDO XLOG_CHECKPOINT_REDO only contains the wal_level copied straight in without an encapsulating record structure. While it works, it makes future uses of XLOG_CHECKPOINT_REDO hard as there is nowhere to put new data items. This fix this was inspired by the online checksums patch which adds data to this record, but this change has value on its own. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://postgr.es/m/c92b5d8b-bc03-47bc-b209-2e4a719eee32@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/rmgrdesc/xlogdesc.c | modified | +3 −3 |
| src/backend/access/transam/xlog.c | modified | +7 −1 |
| src/backend/postmaster/walsummarizer.c | modified | +4 −1 |
| src/include/access/xlog_internal.h | modified | +6 −0 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- Changing the state of data checksums in a running cluster 144 messages · 2024-07-03 → 2026-07-02