mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Export a few more symbols required for test_shm_mq module.
Patch from Amit Kapila.
This commit is contained in:
parent
ad6bf0291a
commit
7d7eee8bb7
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user