git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dbdfd11)
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
2016年11月26日 15:29:18 +0000 (10:29 -0500)
2016年11月26日 15:29:18 +0000 (10:29 -0500)
Per request from Craig Ringer.


diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 78545daecec2ba030eca4c35636e5ceb757166d4..78c99543656d73c83fa7a939f8528006bb561125 100644 (file)
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -144,9 +144,9 @@ do { \
* from utils/init/globals.c
*/
extern PGDLLIMPORT pid_t PostmasterPid;
-extern bool IsPostmasterEnvironment;
+extern PGDLLIMPORT bool IsPostmasterEnvironment;
extern PGDLLIMPORT bool IsUnderPostmaster;
-extern bool IsBackgroundWorker;
+extern PGDLLIMPORT bool IsBackgroundWorker;
extern PGDLLIMPORT bool IsBinaryUpgrade;
extern bool ExitOnAnyError;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /