projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370a46f
)
Mark PostmasterPid as PGDLLIMPORT.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 3 Jun 2016 17:50:51 +0000
(13:50 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 3 Jun 2016 18:06:35 +0000
(14:06 -0400)
This is so that extensions can use it.
Michael Paquier
src/include/miscadmin.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/miscadmin.h
b/src/include/miscadmin.h
index 356fcc6edac76a3233e145ff1caca3e636666e32..78545daecec2ba030eca4c35636e5ceb757166d4 100644
(file)
--- 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;