mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Mark a few parallelism-related variables with PGDLLIMPORT.
Back-patch commit 09a65f5a2 into the 9.6 and 10 branches. Needed to support back-patch of commit 2cd4e8357 on Windows. Discussion: http://postgr.es/m/20190604011354.GD1529@paquier.xyz
This commit is contained in:
parent
efa121ae6a
commit
f46eae4fc1
@ -48,8 +48,8 @@ typedef struct ParallelContext
|
||||
} ParallelContext;
|
||||
|
||||
extern volatile bool ParallelMessagePending;
|
||||
extern int ParallelWorkerNumber;
|
||||
extern bool InitializingParallelWorker;
|
||||
extern PGDLLIMPORT int ParallelWorkerNumber;
|
||||
extern PGDLLIMPORT bool InitializingParallelWorker;
|
||||
|
||||
#define IsParallelWorker() (ParallelWorkerNumber >= 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user