pgsql: Partially restore qual scope checks in distribute_qual_to_rels()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Partially restore qual scope checks in distribute_qual_to_rels()
Дата
Msg-id E1T7a9U-0006Ch-3g@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Partially restore qual scope checks in distribute_qual_to_rels().

The LATERAL implementation is now basically complete, and I still don't
see a cost-effective way to make an exact qual scope cross-check in the
presence of LATERAL.  However, I did add a PlannerInfo.hasLateralRTEs flag
along the way, so it's easy to make the check only when not hasLateralRTEs.
That seems to still be useful, and it beats having no check at all.

Branch
------
master

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

Modified Files
--------------
src/backend/optimizer/plan/initsplan.c |   28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix LATERAL references to join alias variables.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Restore setting of _USE_32BIT_TIME_T to 32 bit MSVC builds.