projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa121a
)
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 fd203daaf7b7d1716ecfaabc8eaf384da9e88515..59e14a9d500ee8be4666de3c27990903973bc5ac 100644
(file)
--- 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)