Mark wal_level as PGDLLIMPORT.

Per buildfarm, this is needed to allow extensions to use XLogIsNeeded()
in Windows builds.
This commit is contained in:
Tom Lane 2016-05-24 22:48:47 -04:00
parent abaffa9075
commit f5e7b2f910

View File

@ -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() \