Skip to content

Commit 974a286

Browse files
committed
Mark a few parallelism-related variables with PGDLLIMPORT.
Back-patch commit 09a65f5 into the 9.6 and 10 branches. Needed to support back-patch of commit 2cd4e83 on Windows. Discussion: http://postgr.es/m/20190604011354.GD1529@paquier.xyz
1 parent ba38967 commit 974a286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/access/parallel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ typedef struct ParallelContext
4747
} ParallelContext;
4848

4949
extern volatile bool ParallelMessagePending;
50-
extern int ParallelWorkerNumber;
51-
extern bool InitializingParallelWorker;
50+
extern PGDLLIMPORT int ParallelWorkerNumber;
51+
extern PGDLLIMPORT bool InitializingParallelWorker;
5252

5353
#define IsParallelWorker() (ParallelWorkerNumber >= 0)
5454

0 commit comments

Comments
 (0)