Re: Partial indices

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Mascari <mascarm(at)mascari(dot)com>
Cc: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>, pgsql-general(at)hub(dot)org
Subject: Re: Partial indices
Date: 2000-07-06 14:15:16
Message-ID: 28909.962892916@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Mascari <mascarm(at)mascari(dot)com> writes:
>> Are Partial Indices still supported into latest release of PostgreSQL?

> I think they have suffered some serious bit-rot over the years
> and are no longer functional, although some of the core code
> still exists in the backend.

Actually, quite a LOT of partial-index support code still exists in the
backend. Someone removed support for the "WHERE predicate" clause of
CREATE INDEX from the grammar, but I don't know when or why that was
done. AFAICT everything is still there to support the feature
downstream, and it doesn't look particularly bit-rotted.

Someday when we don't have any more-pressing problems, I'd like to try
to re-enable that support. At the very least I might learn why it
was disabled ;-)

(Hey Bruce, do we have a TODO item for "Fix partial indices"?)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Peterson 2000-07-06 14:19:41 Re: proposed improvements to PostgreSQL license
Previous Message Thomas Lockhart 2000-07-06 13:49:03 Re: Find all the dates in the calendar week?