mirror of
https://github.com/postgres/postgres.git
synced 2026-03-10 02:01:23 -04:00
Mark a few parallelism-related variables with PGDLLIMPORT.
Back-patch commit09a65f5a2into the 9.6 and 10 branches. Needed to support back-patch of commit2cd4e8357on Windows. Discussion: http://postgr.es/m/20190604011354.GD1529@paquier.xyz
This commit is contained in:
parent
efa121ae6a
commit
f46eae4fc1
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue