aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/access/xlog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 0744c3f9720..e7e91fcb039 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -124,7 +124,8 @@ typedef enum WalLevel
WAL_LEVEL_REPLICA,
WAL_LEVEL_LOGICAL
} WalLevel;
-extern int wal_level;
+
+extern PGDLLIMPORT int wal_level;
/* Is WAL archiving enabled (always or only while server is running normally)? */
#define XLogArchivingActive() \