pgsql: Fix adjust_semi_join to be more cautious about clauseless joins.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix adjust_semi_join to be more cautious about clauseless joins.
Дата
Msg-id E1PDPcK-0003Cr-9u@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix adjust_semi_join to be more cautious about clauseless joins.

It was reporting that these were fully indexed (hence cheap), when of
course they're the exact opposite of that.  I'm not certain if the case
would arise in practice, since a clauseless semijoin is hard to produce
in SQL, but if it did happen we'd make some dumb decisions.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3f36070d72a54b94096e6853b185eb677a658369

Modified Files
--------------
src/backend/optimizer/path/costsize.c |   18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix buffer overrun in pg_upgrade.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix adjust_semi_join to be more cautious about clauseless joins.