postgres.git / summary / log / commit / refs

commit    09a65f5a284491d865f3f2ca5a996e597b9cf696
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Tue Dec 19 15:21:54 2017 +0000

    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 f4db88294aa..d381afb2857 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) [parent: 4bbf110d2fb4]