Re: Another planner oddity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Another planner oddity
Дата
Msg-id 2123.1004802780@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Another planner oddity  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Another planner oddity  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> explain select 
>     (select r.n from r where r.p=tv.p), -- no reference to gn!
>     sum(x)
> From
>     tv

What's your point?  We can't omit the join to g, as that would change
the set of returned rows.  (In general, anyway; in this case the
dependency is that multiple matches in g would change sum(x) for
any given r.n.)
        regards, tom lane


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

Предыдущее
От: Fábio Santana
Дата:
Сообщение: LISTENING THE PORT
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: LISTENING THE PORT