Re: plan shape work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plan shape work
Дата
Msg-id 1376782.1757088055@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plan shape work  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: plan shape work
Re: plan shape work
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I was not aware of outer_join_rels, so thank you for pointing it out.
> However, consider this query:

> select 1 from pg_class a inner join pg_class b on a.relfilenode = b.relfilenode;

> Here, we end up with a three-item range table: one for a, one for b,
> and one for the join. But the join is not an outer join, and does not
> appear in root->outer_join_rels. Therefore, I'm not sure we can rely
> on outer_join_rels in this scenario.

Plain (not-outer) joins will never be included in a relid set in the
first place.

            regards, tom lane



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