Re: Partial Indices vs. mixing columns and functions - Mailing list pgsql-general

From Hiroshi Inoue
Subject Re: Partial Indices vs. mixing columns and functions
Date
Msg-id 3B538BD1.DDBE2A13@tpf.co.jp
Whole thread Raw
In response to Partial Indices vs. mixing columns and functions  (Mike Mascari <mascarm@mascari.com>)
Responses Re: Partial Indices vs. mixing columns and functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Ryan Mahoney
Date:
Subject: Re: Postmaster
Next
From: Tom Lane
Date:
Subject: Re: Partial Indices vs. mixing columns and functions