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(-)