pgsql: Initialize wal_level in the initial checkpoint record.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Initialize wal_level in the initial checkpoint record.
Date: 2024-07-22 19:42:46
Message-ID: E1sVyvm-000kiW-O4@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e7dabbcebd445b67a5413d48458b5cf5b4c7930a

Modified Files
--------------
src/backend/access/transam/xlog.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2024-07-22 21:01:53 pgsql: Revert "Test that vacuum removes tuples older than OldestXmin"
Previous Message Robert Haas 2024-07-22 19:20:41 pgsql: Remove grotty use of disable_cost for TID scan plans.