pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Avoid passing function pointers across process boundaries.
Date: Sat, 15 Apr 2017 20:23:34 +0000
Message-ID: <E1czUEI-0001Fz-3R@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)

Message-ID: <E1czUEI-0001Fz-3R@gemulon.postgresql.org>
Permalink:  ../E1czUEI-0001Fz-3R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1czUEI-0001Fz-3R@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Avoid passing function pointers across process boundaries.
  In-Reply-To: <E1czUEI-0001Fz-3R@gemulon.postgresql.org>
  References: <E1czUEI-0001Fz-3R@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox