Re: bug in query planning?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in query planning?
Дата
Msg-id 29392.1072068467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на bug in query planning?  (Steven D.Arnold <stevena@neosynapse.net>)
Ответы Re: bug in query planning?  (Steven D.Arnold <stevena@neosynapse.net>)
Список pgsql-general
"Steven D.Arnold" <stevena@neosynapse.net> writes:
> Query (2) below is the same query, but we reverse the order of the
> tables.  It's obviously not quite the same query semantically, even
> though in my case it should always produce the same result.

Since it is in fact not the same query, I'm unclear on why you expect
it to produce the same plan.

> I'm using version 7.3.4 of Postgres.

FWIW, I believe that 7.4 will recognize that (1) and (3) are
semantically equivalent.

            regards, tom lane

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

Предыдущее
От: Steven D.Arnold
Дата:
Сообщение: bug in query planning?
Следующее
От: Paul Ganainm
Дата:
Сообщение: Groff and Weinberg SQL Complete Reference - Sample database?