Skip to content

Commit 7d7eee8

Browse files
committed
Export a few more symbols required for test_shm_mq module.
Patch from Amit Kapila.
1 parent ad6bf02 commit 7d7eee8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/include/miscadmin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ extern volatile bool ProcDiePending;
8080
extern volatile bool ClientConnectionLost;
8181

8282
/* these are marked volatile because they are examined by signal handlers: */
83-
extern volatile bool ImmediateInterruptOK;
83+
extern PGDLLIMPORT volatile bool ImmediateInterruptOK;
8484
extern PGDLLIMPORT volatile uint32 InterruptHoldoffCount;
8585
extern PGDLLIMPORT volatile uint32 CritSectionCount;
8686

src/include/postmaster/bgworker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ extern BgwHandleStatus WaitForBackgroundWorkerStartup(BackgroundWorkerHandle *
116116
extern void TerminateBackgroundWorker(BackgroundWorkerHandle *handle);
117117

118118
/* This is valid in a running worker */
119-
extern BackgroundWorker *MyBgworkerEntry;
119+
extern PGDLLIMPORT BackgroundWorker *MyBgworkerEntry;
120120

121121
/*
122122
* Connect to the specified database, as the specified user. Only a worker

src/include/storage/shm_mq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ extern shm_mq_result shm_mq_receive(shm_mq_handle *mqh,
6565
extern shm_mq_result shm_mq_wait_for_attach(shm_mq_handle *mqh);
6666

6767
/* Smallest possible queue. */
68-
extern const Size shm_mq_minimum_size;
68+
extern PGDLLIMPORT const Size shm_mq_minimum_size;
6969

7070
#endif /* SHM_MQ_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy