Skip to content

Commit f5e7b2f

Browse files
committed
Mark wal_level as PGDLLIMPORT.
Per buildfarm, this is needed to allow extensions to use XLogIsNeeded() in Windows builds.
1 parent abaffa9 commit f5e7b2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/access/xlog.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ typedef enum WalLevel
124124
WAL_LEVEL_REPLICA,
125125
WAL_LEVEL_LOGICAL
126126
} WalLevel;
127-
extern int wal_level;
127+
128+
extern PGDLLIMPORT int wal_level;
128129

129130
/* Is WAL archiving enabled (always or only while server is running normally)? */
130131
#define XLogArchivingActive() \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy