summaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-05 09:24:12 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-05 09:40:07 -0500
commite6c7ff9e381bf2b9a0c5170c8ddd309dafa1783b (patch)
treec22edbefb6aadb22db51ffcd75876f77dcdc18b6 /src/include/miscadmin.h
parent5eefe7452ed06ab6e52590459324ad2ee1ef587f (diff)
Mark assorted variables PGDLLIMPORT.
This makes life easier for extension authors who wish to support Windows. Brian Cloutier, slightly amended by me. Discussion: http://postgr.es/m/CAJCy68fscdNhmzFPS4kyO00CADkvXvEa-28H-OtENk-pa2OTWw@mail.gmail.com
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index d0ec3914e08..7067691c35a 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -150,13 +150,13 @@ extern PGDLLIMPORT bool IsUnderPostmaster;
extern bool IsBackgroundWorker;
extern bool IsBinaryUpgrade;
-extern bool ExitOnAnyError;
+extern PGDLLIMPORT bool ExitOnAnyError;
extern PGDLLIMPORT char *DataDir;
extern PGDLLIMPORT int NBuffers;
-extern int MaxBackends;
-extern int MaxConnections;
+extern PGDLLIMPORT int MaxBackends;
+extern PGDLLIMPORT int MaxConnections;
extern PGDLLIMPORT int MyProcPid;
extern PGDLLIMPORT pg_time_t MyStartTime;
@@ -244,7 +244,7 @@ extern int CTimeZone;
#define MAXTZLEN 10 /* max TZ name len, not counting tr. null */
extern bool enableFsync;
-extern bool allowSystemTableMods;
+extern PGDLLIMPORT bool allowSystemTableMods;
extern PGDLLIMPORT int work_mem;
extern PGDLLIMPORT int maintenance_work_mem;