Re: Partial indices

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Partial indices
Дата
Msg-id 28909.962892916@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Partial indices  (Mike Mascari <mascarm@mascari.com>)
Ответы Re: Partial indices  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Mike Mascari <mascarm@mascari.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

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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Find all the dates in the calendar week?
Следующее
От: "John Daniels"
Дата:
Сообщение: Re: PostgreSQL & the BSD License