Re: How to create index on only some of the rows - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: How to create index on only some of the rows
Date
Msg-id 20110207150929.GB3438@shinkuro.com
Whole thread Raw
In response to How to create index on only some of the rows  (A B <gentosaker@gmail.com>)
List 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 by date:

Previous
From: Vibhor Kumar
Date:
Subject: Re: How to create index on only some of the rows
Next
From: Jens Sauer
Date:
Subject: fulltext search and hunspell