summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2014-01-18 20:29:45 +0000
committerAndrew Dunstan2014-01-18 20:29:45 +0000
commit7d7eee8bb702d7796a0d7c5886c1f4685f2e2806 (patch)
tree7b530e1e8dcf95f9ce6a45a15158b77fc0b602cf
parentad6bf0291a9fed503af3d5e777315a8997571647 (diff)
Export a few more symbols required for test_shm_mq module.
Patch from Amit Kapila.
-rw-r--r--src/include/miscadmin.h2
-rw-r--r--src/include/postmaster/bgworker.h2
-rw-r--r--src/include/storage/shm_mq.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index b145a19408..f133e5ff2d 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -80,7 +80,7 @@ extern volatile bool ProcDiePending;
extern volatile bool ClientConnectionLost;
/* these are marked volatile because they are examined by signal handlers: */
-extern volatile bool ImmediateInterruptOK;
+extern PGDLLIMPORT volatile bool ImmediateInterruptOK;
extern PGDLLIMPORT volatile uint32 InterruptHoldoffCount;
extern PGDLLIMPORT volatile uint32 CritSectionCount;
diff --git a/src/include/postmaster/bgworker.h b/src/include/postmaster/bgworker.h
index 05269f3466..78d6c0e09d 100644
--- a/src/include/postmaster/bgworker.h
+++ b/src/include/postmaster/bgworker.h
@@ -116,7 +116,7 @@ extern BgwHandleStatus WaitForBackgroundWorkerStartup(BackgroundWorkerHandle *
extern void TerminateBackgroundWorker(BackgroundWorkerHandle *handle);
/* This is valid in a running worker */
-extern BackgroundWorker *MyBgworkerEntry;
+extern PGDLLIMPORT BackgroundWorker *MyBgworkerEntry;
/*
* Connect to the specified database, as the specified user. Only a worker
diff --git a/src/include/storage/shm_mq.h b/src/include/storage/shm_mq.h
index 1ce88a1c4b..1bc1f5611e 100644
--- a/src/include/storage/shm_mq.h
+++ b/src/include/storage/shm_mq.h
@@ -65,6 +65,6 @@ extern shm_mq_result shm_mq_receive(shm_mq_handle *mqh,
extern shm_mq_result shm_mq_wait_for_attach(shm_mq_handle *mqh);
/* Smallest possible queue. */
-extern const Size shm_mq_minimum_size;
+extern PGDLLIMPORT const Size shm_mq_minimum_size;
#endif /* SHM_MQ_H */