From: Robert Haas Date: Tue, 19 Dec 2017 15:21:54 +0000 (-0500) Subject: Mark a few parallelism-related variables with PGDLLIMPORT. X-Git-Tag: REL_11_BETA1~1052 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09a65f5a284491d865f3f2ca5a996e597b9cf696;p=postgresql Mark a few parallelism-related variables with PGDLLIMPORT. Discussion: http://postgr.es/m/CAEepm=2HzxAOKU6eCWTyvMwBy=fhGvbwDPM_fVps759tkyQSYQ@mail.gmail.com --- 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)