Re: Query plan question, and a memory leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query plan question, and a memory leak
Дата
Msg-id 3618.1044249742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query plan question, and a memory leak  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Query plan question, and a memory leak  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> However I tested those queries with some data and things really do seem to be
> behaving oddly. It takes nearly twice as long to run the version with the
> where clause and duplicate subplan.

Yes, they will both be executed --- there's no
duplicate-subexpression-elimination logic...

            regards, tom lane

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

Предыдущее
От: Ryan VanderBijl
Дата:
Сообщение: commit errors
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Query plan question, and a memory leak