Mark PostmasterPid as PGDLLIMPORT.
This is so that extensions can use it. Michael Paquier
This commit is contained in:
parent
370a46fc01
commit
cac8321970
|
@ -143,7 +143,7 @@ do { \
|
||||||
/*
|
/*
|
||||||
* from utils/init/globals.c
|
* from utils/init/globals.c
|
||||||
*/
|
*/
|
||||||
extern pid_t PostmasterPid;
|
extern PGDLLIMPORT pid_t PostmasterPid;
|
||||||
extern bool IsPostmasterEnvironment;
|
extern bool IsPostmasterEnvironment;
|
||||||
extern PGDLLIMPORT bool IsUnderPostmaster;
|
extern PGDLLIMPORT bool IsUnderPostmaster;
|
||||||
extern bool IsBackgroundWorker;
|
extern bool IsBackgroundWorker;
|
||||||
|
|
Loading…
Reference in New Issue