Re: How to create index on only some of the rows

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: How to create index on only some of the rows
Дата
Msg-id 20110207150929.GB3438@shinkuro.com
обсуждение исходный текст
Ответ на How to create index on only some of the rows  (A B <gentosaker@gmail.com>)
Список pgsql-general
On Mon, Feb 07, 2011 at 03:00:54PM +0100, A B wrote:
> So until this changes, can you just add a boolean field to tell if the
> column should be used in the index, and then run  "create index ....
> where use_in_index = true"  or are there other (better?) ways of doing
> this?

What are the criteria for inclusion in the index?  Those would be the
criteria you put in your WHERE clause.

A

--
Andrew Sullivan
ajs@crankycanuck.ca

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

Предыдущее
От: Vibhor Kumar
Дата:
Сообщение: Re: How to create index on only some of the rows
Следующее
От: Jens Sauer
Дата:
Сообщение: fulltext search and hunspell