From: Tom Lane Date: Wed, 25 May 2016 02:48:47 +0000 (-0400) Subject: Mark wal_level as PGDLLIMPORT. X-Git-Tag: REL9_6_BETA2~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5e7b2f910b7cdb51b7369c76627998432ab6821;p=postgresql Mark wal_level as PGDLLIMPORT. Per buildfarm, this is needed to allow extensions to use XLogIsNeeded() in Windows builds. --- diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 0744c3f972..e7e91fcb03 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() \