Re: Constraint exclusion for timestamp expression

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint exclusion for timestamp expression
Дата
Msg-id 11651.1400585215@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Constraint exclusion for timestamp expression  (Victor Yegorov <vyegorov@gmail.com>)
Ответы Re: Constraint exclusion for timestamp expression
Список pgsql-general
Victor Yegorov <vyegorov@gmail.com> writes:
> How can I enforce pruning to kick in for the initial expressions?

You already found out: use constants.  The planner can't remove
partitions on the basis of clauses involving volatile, or even
stable, functions, because their results might be different at
runtime.

            regards, tom lane


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

Предыдущее
От: Victor Yegorov
Дата:
Сообщение: Constraint exclusion for timestamp expression
Следующее
От: Victor Yegorov
Дата:
Сообщение: Re: Constraint exclusion for timestamp expression