Re: [HACKERS] How does postgres store the join predicate for a relation in a given query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] How does postgres store the join predicate for a relation in a given query
Дата
Msg-id 28956.1507836136@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] How does postgres store the join predicate for arelation in a given query  (Gourav Kumar <gourav1905@gmail.com>)
Ответы Re: [HACKERS] How does postgres store the join predicate for arelation in a given query  (Gourav Kumar <gourav1905@gmail.com>)
Список pgsql-hackers
Gourav Kumar <gourav1905@gmail.com> writes:
> A Join clause/predicate will only mention 2 relations. It can't have 3 or
> more relations.

Really?  What of, say,
select ... from a,b,c where (a.x + b.y) = c.z;
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Optimise default partition scanning while adding new partition
Следующее
От: Gourav Kumar
Дата:
Сообщение: Re: [HACKERS] How does postgres store the join predicate for arelation in a given query