mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +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_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() \
|
||||||
|
Reference in New Issue
Block a user