1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

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

View File

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