From 09a65f5a284491d865f3f2ca5a996e597b9cf696 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 19 Dec 2017 10:21:54 -0500 Subject: [PATCH] Mark a few parallelism-related variables with PGDLLIMPORT. Discussion: http://postgr.es/m/CAEepm=2HzxAOKU6eCWTyvMwBy=fhGvbwDPM_fVps759tkyQSYQ@mail.gmail.com --- src/include/access/parallel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/access/parallel.h b/src/include/access/parallel.h index f4db88294a..d381afb285 100644 --- a/src/include/access/parallel.h +++ b/src/include/access/parallel.h @@ -52,8 +52,8 @@ typedef struct ParallelWorkerContext } ParallelWorkerContext; extern volatile bool ParallelMessagePending; -extern int ParallelWorkerNumber; -extern bool InitializingParallelWorker; +extern PGDLLIMPORT int ParallelWorkerNumber; +extern PGDLLIMPORT bool InitializingParallelWorker; #define IsParallelWorker() (ParallelWorkerNumber >= 0) -- 2.40.0