aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-10-28 17:44:18 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-10-28 17:44:18 +0100
commit8a98822bcc37c03baf44ec39d8e88d9c24647b9d (patch)
treea73b748f70a70d1c0626a857dbbbe5dde4fa59f5 /src/backend/access/transam/xlog.c
parent123474cbcebc17d3fd32503092df6e4beb8df0f6 (diff)
downloadpostgresql-8a98822bcc37c03baf44ec39d8e88d9c24647b9d.tar.gz
postgresql-8a98822bcc37c03baf44ec39d8e88d9c24647b9d.zip
Fix WAL_DEBUG build
broken by commit e18512c000e Reported-by: Peter Geoghegan <pg@bowt.ie>
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 5a2801e482f..3ecaf181392 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -104,6 +104,10 @@
#include "utils/timestamp.h"
#include "utils/varlena.h"
+#ifdef WAL_DEBUG
+#include "utils/memutils.h"
+#endif
+
/* timeline ID to be used when bootstrapping */
#define BootstrapTimeLineID 1