Re: Query plan question, and a memory leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query plan question, and a memory leak
Дата
Msg-id 8415.1044255574@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>)
Re: Query plan question, and a memory leak  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> Is there some way to force the optimizer not to substitute the subquery in the
> where clause?

You could try tinkering with the rules for invoking subquery_push_qual
in src/backend/optimizer/path/allpaths.c.  This might be a case that
would fall under the note there wondering if pushing down can ever
result in a worse plan.  I'm not sure though that we can tell the
difference reliably...

            regards, tom lane

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

Предыдущее
От: Ryan VanderBijl
Дата:
Сообщение: Re: serialization errors
Следующее
От: Christoph Dalitz
Дата:
Сообщение: List online archives and spam