mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03: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:
@ -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() \
|
||||
|
Reference in New Issue
Block a user