From 4a8fb58671d36b8f6cb4f5c582b8dc5fa4d26702 Mon Sep 17 00:00:00 2001 From: Melanie Plageman Date: Tue, 14 Oct 2025 10:13:10 -0400 Subject: [PATCH] Bump XLOG_PAGE_MAGIC after xl_heap_prune change add323da40a6 altered xl_heap_prune, changing the WAL format, but neglected to bump XLOG_PAGE_MAGIC. Do so now. Author: Melanie Plageman Reported-by: Kirill Reshke Reported-by: Michael Paquier Discussion: https://postgr.es/m/aO3Gw6hCAZFUd5ab%40paquier.xyz --- src/include/access/xlog_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index cc06fc29ab2..34deb2fe5f0 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -31,7 +31,7 @@ /* * Each page of XLOG file has a header like this: */ -#define XLOG_PAGE_MAGIC 0xD118 /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0xD119 /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { -- 2.47.3