aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-11-26 10:29:18 -0500
committerRobert Haas <rhaas@postgresql.org>2016-11-26 10:29:18 -0500
commit273270593f42bdbd5422923eb70fbd0fb0f65bf0 (patch)
tree8fa2c082e99ee6d4dde4fdd3dd6ec151bfcac258
parentdbdfd114f34443f1e4ad16ce2721f9817d3b3d80 (diff)
downloadpostgresql-273270593f42bdbd5422923eb70fbd0fb0f65bf0.tar.gz
postgresql-273270593f42bdbd5422923eb70fbd0fb0f65bf0.zip
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
Per request from Craig Ringer.
-rw-r--r--src/include/miscadmin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 78545daecec..78c99543656 100644
--- 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;