aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-06-03 13:50:51 -0400
committerRobert Haas <rhaas@postgresql.org>2016-06-03 14:06:35 -0400
commitcac8321970e9fd18730b2ca4e15f2c61dd326053 (patch)
tree1d756a97a49a6d5044493070410a508b2fb0080c /src
parent370a46fc015115bfeccde4eb208d82049f792f9f (diff)
downloadpostgresql-cac8321970e9fd18730b2ca4e15f2c61dd326053.tar.gz
postgresql-cac8321970e9fd18730b2ca4e15f2c61dd326053.zip
Mark PostmasterPid as PGDLLIMPORT.
This is so that extensions can use it. Michael Paquier
Diffstat (limited to 'src')
-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 356fcc6edac..78545daecec 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;