planner & target lists

Поиск
Список
Период
Сортировка
От Hicham G. Elmongui
Тема planner & target lists
Дата
Msg-id 200409241322.i8ODMTqS010873@newman.cs.purdue.edu
обсуждение исходный текст
Ответы Re: planner & target lists  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,
I am confused about an internal point of the planner.

Consider a select query and the output target list at the root of the tree.
This target lists points to some Vars. Each of which has as relation either
INNER/OUTER.
Does this INNER/OUTER refer to the inner/outer relations of the top-most
node in the tree or to the bottom-most one.

In other words, in the following tree, a variable in B that shows in Op1's
target list, does it have its relation as INNER (which is B) or OUTER (which
is Op2)
        Op1        / \       /   \      /     \    Op2     Op3    / \     / \   /   \   /   \  A     B C     D

Regards,
--h



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1