Skip to content
Snippets Groups Projects
Commit f46eae4f authored by Tom Lane's avatar Tom Lane
Browse files

Mark a few parallelism-related variables with PGDLLIMPORT.

Back-patch commit 09a65f5a into the 9.6 and 10 branches.
Needed to support back-patch of commit 2cd4e835 on Windows.

Discussion: http://postgr.es/m/20190604011354.GD1529@paquier.xyz
parent efa121ae
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment