Mark PostmasterPid as PGDLLIMPORT.

This is so that extensions can use it.

Michael Paquier
This commit is contained in:
Robert Haas 2016-06-03 13:50:51 -04:00
parent 370a46fc01
commit cac8321970
1 changed files with 1 additions and 1 deletions

View File

@ -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;