From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow RTE_SUBQUERY rels to be considered parallel-safe.
Date: Sun, 03 Jul 2016 22:24:55 +0000
Message-ID: <E1bJpot-0007Yk-GK@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Allow RTE_SUBQUERY rels to be considered parallel-safe.
There isn't really any reason not to; the original comments here were
partly confused about subplans versus subquery-in-FROM, and partly
dependent on restrictions that no longer apply now that subqueries return
Paths not Plans. Depending on what's inside the subquery, it might fail
to produce any parallel_safe Paths, but that's fine.
Tom Lane and Robert Haas
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/110a6dbdebebac9401b43a8fc223e6ec43cd4d10
Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
--
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Allow RTE_SUBQUERY rels to be considered parallel-safe.
In-Reply-To: <E1bJpot-0007Yk-GK@gemulon.postgresql.org>
References: <E1bJpot-0007Yk-GK@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