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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow RTE_SUBQUERY rels to be considered parallel-safe.
Дата
Msg-id E1bJpot-0007Yk-GK@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix up parallel-safety marking for appendrels.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Typo fix.