projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abaffa9
)
Mark wal_level as PGDLLIMPORT.
author
Tom Lane
Wed, 25 May 2016 02:48:47 +0000
(22:48 -0400)
committer
Tom Lane
Wed, 25 May 2016 02:48:47 +0000
(22:48 -0400)
Per buildfarm, this is needed to allow extensions to use XLogIsNeeded()
in Windows builds.
src/include/access/xlog.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/access/xlog.h
b/src/include/access/xlog.h
index 0744c3f972059fedfee74ec8ba5548222c7b9b92..e7e91fcb039830873299d89fc2a549a1233ad26a 100644
(file)
--- 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() \