projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdfd11
)
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
author
Robert Haas
<rhaas@postgresql.org>
Sat, 26 Nov 2016 15:29:18 +0000
(10:29 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Sat, 26 Nov 2016 15:29:18 +0000
(10:29 -0500)
Per request from Craig Ringer.
src/include/miscadmin.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/miscadmin.h
b/src/include/miscadmin.h
index 78545daecec2ba030eca4c35636e5ceb757166d4..78c99543656d73c83fa7a939f8528006bb561125 100644
(file)
--- a/
src/include/miscadmin.h
+++ b/
src/include/miscadmin.h
@@
-144,9
+144,9
@@
do { \
* from utils/init/globals.c
*/
extern PGDLLIMPORT pid_t PostmasterPid;
-extern bool IsPostmasterEnvironment;
+extern
PGDLLIMPORT
bool IsPostmasterEnvironment;
extern PGDLLIMPORT bool IsUnderPostmaster;
-extern bool IsBackgroundWorker;
+extern
PGDLLIMPORT
bool IsBackgroundWorker;
extern PGDLLIMPORT bool IsBinaryUpgrade;
extern bool ExitOnAnyError;