Commit f5e7b2f9 authored by Tom Lane's avatar Tom Lane

Mark wal_level as PGDLLIMPORT.

Per buildfarm, this is needed to allow extensions to use XLogIsNeeded()
in Windows builds.
parent abaffa90
...@@ -124,7 +124,8 @@ typedef enum WalLevel ...@@ -124,7 +124,8 @@ typedef enum WalLevel
WAL_LEVEL_REPLICA, WAL_LEVEL_REPLICA,
WAL_LEVEL_LOGICAL WAL_LEVEL_LOGICAL
} WalLevel; } WalLevel;
extern int wal_level;
extern PGDLLIMPORT int wal_level;
/* Is WAL archiving enabled (always or only while server is running normally)? */ /* Is WAL archiving enabled (always or only while server is running normally)? */
#define XLogArchivingActive() \ #define XLogArchivingActive() \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment