pgsql: Allow RTE_SUBQUERY rels to be considered parallel-safe.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow RTE_SUBQUERY rels to be considered parallel-safe.
Date: 2016-07-03 22:24:55
Message-ID: E1bJpot-0007Yk-GK@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-07-03 22:43:52 pgsql: Typo fix.
Previous Message Tom Lane 2016-07-03 21:57:34 pgsql: Fix up parallel-safety marking for appendrels.