Skip to content

Commit 2732705

Browse files
committed
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
Per request from Craig Ringer.
1 parent dbdfd11 commit 2732705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/miscadmin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ do { \
144144
* from utils/init/globals.c
145145
*/
146146
extern PGDLLIMPORT pid_t PostmasterPid;
147-
extern bool IsPostmasterEnvironment;
147+
extern PGDLLIMPORT bool IsPostmasterEnvironment;
148148
extern PGDLLIMPORT bool IsUnderPostmaster;
149-
extern bool IsBackgroundWorker;
149+
extern PGDLLIMPORT bool IsBackgroundWorker;
150150
extern PGDLLIMPORT bool IsBinaryUpgrade;
151151

152152
extern bool ExitOnAnyError;

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