Re: subselects vs WITH in views

Поиск
Список
Период
Сортировка
От Joe Van Dyk
Тема Re: subselects vs WITH in views
Дата
Msg-id CACfv+pJkqSOPgWhYeN3g=bWN4tbgTMrdfaSQLea09eOb4yhqLQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: subselects vs WITH in views  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Ответы Re: subselects vs WITH in views  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On Tue, Feb 19, 2013 at 1:02 AM, Albe Laurenz <laurenz.albe@wien.gv.at>wrote:

> Joe Van Dyk wrote:
> > My assumption was that WITH acted just like subselects, but apparently
> they don't? Using WITH doesn't
> > use the expected index.
>
> Currently WITH acts as an "optimization fence", that means
> that means that the planner won't move conditions into or
> out of the WITH query.


Where's the best place to read up on this?

Thanks,
Joe

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Questions: How to configure PostgreSQL at the beginning ....
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: What happens if I create new threads from within a postgresql function?