Skip to content

Commit 061e7ef

Browse files
committed
Allow WAL record header to be split across pages.
This saves a few bytes of WAL space, but the real motivation is to make it predictable how much WAL space a record requires, as it no longer depends on whether we need to waste the last few bytes at end of WAL page because the header doesn't fit. The total length field of WAL record, xl_tot_len, is moved to the beginning of the WAL record header, so that it is still always found on the first page where a WAL record begins. Bump WAL version number again as this is an incompatible change.
1 parent 20ba5ca commit 061e7ef

File tree

4 files changed

+207
-155
lines changed

4 files changed

+207
-155
lines changed

0 commit comments

Comments
 (0)