Skip to main content

Module header

Module header 

Source
Expand description

Shared-file-header encoding for append-only WAL files.

Structs§

WalHeader
Validated WAL-specific interpretation of the shared file header.

Enums§

WalHeaderError
Specific failure found before WAL record replay begins.

Constants§

WAL_HEADER_LEN
Complete v1 WAL header: shared header plus the family-owned sequence field.

Functions§

decode_header
Decodes and validates a WAL file header before any record is consumed.
encode_header
Encodes the complete WAL file header for a log beginning at first_seq.