mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Mark wal_level as PGDLLIMPORT.
Per buildfarm, this is needed to allow extensions to use XLogIsNeeded() in Windows builds.
This commit is contained in:
parent
abaffa9075
commit
f5e7b2f910
@ -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() \
|
||||
|
Loading…
Reference in New Issue
Block a user