projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bbf110
)
Mark a few parallelism-related variables with PGDLLIMPORT.
author
Robert Haas
<rhaas@postgresql.org>
Tue, 19 Dec 2017 15:21:54 +0000
(10:21 -0500)
committer
Robert 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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/access/parallel.h
b/src/include/access/parallel.h
index f4db88294aa00a6c0f5732273a335a4edbe4316f..d381afb2857dd2ca98e05cbc6eb72839e65afe30 100644
(file)
--- 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)