aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-04-15 16:23:27 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-04-15 16:23:27 -0400
commit9c225acf0b97a7a3a5ca1a12ee0e89c98cf16442 (patch)
tree72ce9833271db97603c1847b762f387dd2ec978f /src/include/executor
parentd51279433cdf30d62e92bb5f5f1790e9014a0342 (diff)
downloadpostgresql-9c225acf0b97a7a3a5ca1a12ee0e89c98cf16442.tar.gz
postgresql-9c225acf0b97a7a3a5ca1a12ee0e89c98cf16442.zip
Avoid passing function pointers across process boundaries.
This back-patches commit 32470825d36d99a81347ee36c181d609c952c061 into 9.6, primarily to make buildfarm member culicidae happy. Unlike the HEAD patch, avoid changing the existing API of CreateParallelContext; instead we just switch to using CreateParallelContextForExternalFunction, even for core functions. Petr Jelinek, with a bunch of basically-cosmetic adjustments by me Discussion: https://postgr.es/m/548f9c1d-eafa-e3fa-9da8-f0cc2f654e60@2ndquadrant.com
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/execParallel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/executor/execParallel.h b/src/include/executor/execParallel.h
index f4c6d37a119..42424d1b5c1 100644
--- a/src/include/executor/execParallel.h
+++ b/src/include/executor/execParallel.h
@@ -36,4 +36,6 @@ extern void ExecParallelFinish(ParallelExecutorInfo *pei);
extern void ExecParallelCleanup(ParallelExecutorInfo *pei);
extern void ExecParallelReinitialize(ParallelExecutorInfo *pei);
+extern void ParallelQueryMain(dsm_segment *seg, shm_toc *toc);
+
#endif /* EXECPARALLEL_H */