diff options
author | Tom Lane | 2016-05-25 02:48:47 +0000 |
---|---|---|
committer | Tom Lane | 2016-05-25 02:48:47 +0000 |
commit | f5e7b2f910b7cdb51b7369c76627998432ab6821 (patch) | |
tree | 7b907fe73fa11fc051de720d76db34d7eed85c4b /src | |
parent | abaffa907588283f7673fc223857e6966421b8ca (diff) |
Mark wal_level as PGDLLIMPORT.
Per buildfarm, this is needed to allow extensions to use XLogIsNeeded()
in Windows builds.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/xlog.h | 3 |
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() \ |