Initialize wal_level in the initial checkpoint record.

Robert Haas <rhaas@postgresql.org>

Commit: 6a6ebb92b0d4c0787797538ec3ff342fd8e7c1ed
Author: Robert Haas <rhaas@postgresql.org>
Date: 2024-07-22T19:32:43Z
Releases: 18.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