From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow parallel custom and foreign scans.
Date: Wed, 03 Feb 2016 17:53:34 +0000
Message-ID: <E1aR1cU-0000tL-7D@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Allow parallel custom and foreign scans.
This patch doesn't put the new infrastructure to use anywhere, and
indeed it's not clear how it could ever be used for something like
postgres_fdw which has to send an SQL query and wait for a reply,
but there might be FDWs or custom scan providers that are CPU-bound,
so let's give them a way to join club parallel.
KaiGai Kohei, reviewed by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/69d34408e5e7adcef8ef2f4e9c4f2919637e9a06
Modified Files
--------------
doc/src/sgml/custom-scan.sgml | 37 ++++++++++++++++++++
doc/src/sgml/fdwhandler.sgml | 47 ++++++++++++++++++++++++++
src/backend/executor/execParallel.c | 26 ++++++++++++++
src/backend/executor/nodeCustom.c | 45 ++++++++++++++++++++++++
src/backend/executor/nodeForeignscan.c | 62 ++++++++++++++++++++++++++++++++++
src/include/executor/nodeCustom.h | 11 ++++++
src/include/executor/nodeForeignscan.h | 8 +++++
src/include/foreign/fdwapi.h | 14 ++++++++
src/include/nodes/execnodes.h | 14 +++++++-
9 files changed, 263 insertions(+), 1 deletion(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: rhaas@postgresql.org
Subject: Re: pgsql: Allow parallel custom and foreign scans.
In-Reply-To: <E1aR1cU-0000tL-7D@gemulon.postgresql.org>
References: <E1aR1cU-0000tL-7D@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