]> granicus.if.org Git - postgresql/commit
Allow RTE_SUBQUERY rels to be considered parallel-safe.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jul 2016 22:24:49 +0000 (18:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jul 2016 22:24:49 +0000 (18:24 -0400)
commit110a6dbdebebac9401b43a8fc223e6ec43cd4d10
tree5052d014ba377e1be0eef07c8fa925e3309f5394
parent4ea9948e58a57316330acb1701f979bc1e872f50
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
src/backend/optimizer/path/allpaths.c