Re: Partial Indices vs. mixing columns and functions

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Partial Indices vs. mixing columns and functions
Дата
Msg-id 3B538BD1.DDBE2A13@tpf.co.jp
обсуждение исходный текст
Ответ на Partial Indices vs. mixing columns and functions  (Mike Mascari <mascarm@mascari.com>)
Ответы Re: Partial Indices vs. mixing columns and functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
>
> Mike Mascari <mascarm@mascari.com> writes:
> >> Or will Martijn van Oosterhout's new Partial Indices work allow me to
> >> create a unique index like:
> >> CREATE UNIQUE INDEX i_foo ON foo(value)
> >> WHERE deactive IS NULL;
>
> Just for the record: with CVS tip,
>

What kind of expression is allowed as the predicate now ?
(Sorry I could have had no cvs access for more than a week).
Both the functions used in functional indexes and the
predicates used in partial indexes must be deterministic.
Are users responsible for it ?

regards,
Hiroshi Inoue

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

Предыдущее
От: Ryan Mahoney
Дата:
Сообщение: Re: Postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Partial Indices vs. mixing columns and functions