Re: Partial Indices vs. mixing columns and functions

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Partial Indices vs. mixing columns and functions
Date: 2001-07-17 00:50:25
Message-ID: 3B538BD1.DDBE2A13@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>
> Mike Mascari <mascarm(at)mascari(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurent Mesuré 2001-07-17 01:00:45 Postmaster
Previous Message Ryan Mahoney 2001-07-16 22:15:28 Re: Postmaster