diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-06-03 21:25:43 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-06-03 21:25:43 -0400 |
commit | 974a2867ea5da8d5a8cc31bb9c8897e118fb1a89 (patch) | |
tree | eb31710cc6c29e9687aee18e71fa0909b31f7f4a | |
parent | ba38967d7567342bb547d8aafa8e9bab24396df4 (diff) | |
download | postgresql-974a2867ea5da8d5a8cc31bb9c8897e118fb1a89.tar.gz postgresql-974a2867ea5da8d5a8cc31bb9c8897e118fb1a89.zip |
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
-rw-r--r-- | src/include/access/parallel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/parallel.h b/src/include/access/parallel.h index dffe891ce61..f8e467f2916 100644 --- a/src/include/access/parallel.h +++ b/src/include/access/parallel.h @@ -47,8 +47,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) |