pgsql: Fix some issues with LATERAL(SELECT UNION ALL SELECT).

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix some issues with LATERAL(SELECT UNION ALL SELECT).
Дата
Msg-id E1T0KPH-0008Bj-Bz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix some issues with LATERAL(SELECT UNION ALL SELECT).

The LATERAL marking has to be propagated down to the UNION leaf queries
when we pull them up.  Also, fix the formerly stubbed-off
set_append_rel_pathlist().  It does already have enough smarts to cope with
making a parameterized Append path at need; it just has to not assume that
there *must* be an unparameterized path.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e76af54137c051cafcb1e39f68383a31d1d55ff6

Modified Files
--------------
src/backend/optimizer/path/allpaths.c     |   50 +++++++++++++++-------------
src/backend/optimizer/prep/prepjointree.c |   39 ++++++++++++++++++----
src/test/regress/expected/join.out        |   26 +++++++++++++++
src/test/regress/sql/join.sql             |    9 +++++
4 files changed, 94 insertions(+), 30 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add link from COPY ref page to psql \copy.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: More fixes for planner's handling of LATERAL.