projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba38967
)
Mark a few parallelism-related variables with PGDLLIMPORT.
author
Tom Lane
<
[email protected]
>
Tue, 4 Jun 2019 01:25:43 +0000
(21:25 -0400)
committer
Tom Lane
<
[email protected]
>
Tue, 4 Jun 2019 01:25:43 +0000
(21:25 -0400)
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
[email protected]
src/include/access/parallel.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/access/parallel.h
b/src/include/access/parallel.h
index dffe891ce61afa3a8883cb049cfcc1a9f492a682..f8e467f29163b43a2d2a416c10f10ecc4fb4e0bd 100644
(file)
--- a/
src/include/access/parallel.h
+++ b/
src/include/access/parallel.h
@@
-47,8
+47,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)