Re: joins and indexes -- a=b or b=a?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: joins and indexes -- a=b or b=a?
Дата
Msg-id 20340.985821955@sss.pgh.pa.us
обсуждение исходный текст
Ответ на joins and indexes -- a=b or b=a?  (will trillich <will@serensoft.com>)
Список pgsql-general
will trillich <will@serensoft.com> writes:
> the only difference is GANG.ID=PERSON.GANG versus
> PERSON.GANG=GANG.ID in the WHERE clause. does it matter?

No.  The query planner knows about commutativity ;-)

            regards, tom lane

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