Initialize wal_level in the initial checkpoint record.

Robert Haas <rhaas@postgresql.org>

Commit: e7dabbcebd445b67a5413d48458b5cf5b4c7930a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2024-07-22T19:34:54Z
Releases: 17.0
Initialize wal_level in the initial checkpoint record.

As per Coverity and Tom Lane, commit 402b586d0 (back-patched to v17
as 2b5819e2b) forgot to initialize this new structure member in this
code path.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +1 −0