Re: When you really want to force a certain join type?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: When you really want to force a certain join type?
Дата
Msg-id 492412.1672300330@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: When you really want to force a certain join type?  (Gunther Schadow <raj@gusw.net>)
Список pgsql-performance
Gunther Schadow <raj@gusw.net> writes:
> Also, why even use the RECURSIVE keyword, DB2 didn't need it, and the 
> query analyzer should immediately see the recursion, so no need to have 
> that keyword.

Our reading of the SQL spec is that it's required.  The scope of
visibility of CTE names is different depending on whether you
write RECURSIVE or not, so it's not a question of "the query analyzer
should see it": the analyzer is required NOT to see it.

DB2 generally has a reputation for agreeing with the spec,
so I'm surprised to hear that they're not doing this per spec.

            regards, tom lane



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

Предыдущее
От: Gunther Schadow
Дата:
Сообщение: Re: When you really want to force a certain join type?
Следующее
От: Maxim Boguk
Дата:
Сообщение: How to analyze of short but heavy intermittent slowdown on BIND on production database (or BIND vs log_lock_waits)