Re: Partial Indices vs. mixing columns and functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Partial Indices vs. mixing columns and functions
Дата
Msg-id 24984.995382693@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Partial Indices vs. mixing columns and functions  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-general
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> Both the functions used in functional indexes and the
> predicates used in partial indexes must be deterministic.
> Are users responsible for it ?
>>
>> Yes.  I don't see how the system could enforce that, without
>> prohibiting lots of useful cases.

> Shouldn't the functions be *cacheable* at least ?

Hmm.  We could do that, although of course it's not a bulletproof check.

Any objections out there?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Partial Indices vs. mixing columns and functions
Следующее
От: "Ben-Nes Michael"
Дата:
Сообщение: Re: VACUUM ANALYZE