postgres.git / summary / log / commit / refs

commit    f46eae4fc140ae7e86825095ea7e029cbecddfc7
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Tue Jun 04 01:25:43 2019 +0000

    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


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 fd203daaf7b..59e14a9d500 100644 --- a/src/include/access/parallel.h +++ b/src/include/access/parallel.h @@ -48,8 +48,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) [parent: efa121ae6a86]