]> granicus.if.org Git - postgresql/commitdiff
Mark a few parallelism-related variables with PGDLLIMPORT.
authorRobert Haas <rhaas@postgresql.org>
Tue, 19 Dec 2017 15:21:54 +0000 (10:21 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 19 Dec 2017 15:22:42 +0000 (10:22 -0500)
Discussion: http://postgr.es/m/CAEepm=2HzxAOKU6eCWTyvMwBy=fhGvbwDPM_fVps759tkyQSYQ@mail.gmail.com

src/include/access/parallel.h

index f4db88294aa00a6c0f5732273a335a4edbe4316f..d381afb2857dd2ca98e05cbc6eb72839e65afe30 100644 (file)
@@ -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)