summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2016-06-03 17:50:51 +0000
committerRobert Haas2016-06-03 18:06:35 +0000
commitcac8321970e9fd18730b2ca4e15f2c61dd326053 (patch)
tree1d756a97a49a6d5044493070410a508b2fb0080c
parent370a46fc015115bfeccde4eb208d82049f792f9f (diff)
Mark PostmasterPid as PGDLLIMPORT.
This is so that extensions can use it. Michael Paquier
-rw-r--r--src/include/miscadmin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 356fcc6eda..78545daece 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -143,7 +143,7 @@ do { \
/*
* from utils/init/globals.c
*/
-extern pid_t PostmasterPid;
+extern PGDLLIMPORT pid_t PostmasterPid;
extern bool IsPostmasterEnvironment;
extern PGDLLIMPORT bool IsUnderPostmaster;
extern bool IsBackgroundWorker;