Re: BUG #12000: "CROSS JOIN" not equivalent to ","

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #12000: "CROSS JOIN" not equivalent to ","
Дата
Msg-id 20141118175243.GD1948@alvin.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #12000: "CROSS JOIN" not equivalent to ","  (David G Johnston <david.g.johnston@gmail.com>)
Ответы Re: BUG #12000: "CROSS JOIN" not equivalent to ","  (David Johnston <david.g.johnston@gmail.com>)
Список pgsql-bugs
David G Johnston wrote:

> I personally find the use of "," in the FROM-clause to be poor form and its
> even worse if you decide to mix both "," and explicit JOIN clauses.  If you
> want to make this be explained better feel free to provide suggestions; but
> I'd suggest you simply forget the fact that "FROM A, B" is even valid and
> just use the proper joining keywords instead.

Note that using explicit join form force the optimizer into some
specific join order, depending on the join_collapse_limit parameter,
whereas using commas gives it absolute freedom regardless of the
parameter.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: BUG #12000: "CROSS JOIN" not equivalent to ","
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #12000: "CROSS JOIN" not equivalent to ","