pgsql: Avoid passing function pointers across process boundaries.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid passing function pointers across process boundaries.
Date: 2017-04-15 20:23:34
Message-ID: E1czUEI-0001Fz-3R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9c225acf0b97a7a3a5ca1a12ee0e89c98cf16442

Modified Files
--------------
src/backend/access/transam/README.parallel | 2 +-
src/backend/access/transam/parallel.c | 145 +++++++++++++++++++++--------
src/backend/executor/execParallel.c | 7 +-
src/backend/postmaster/bgworker.c | 103 +++++++++++---------
src/include/executor/execParallel.h | 2 +
5 files changed, 167 insertions(+), 92 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-04-15 21:29:36 pgsql: Provide a way to control SysV shmem attach address in EXEC_BACKE
Previous Message Tom Lane 2017-04-15 18:22:29 pgsql: Fix erroneous cross-reference in comment.