Re: bitmap index and IS NULL predicate - Mailing list pgsql-performance

From Alexander Staubo
Subject Re: bitmap index and IS NULL predicate
Date
Msg-id 88daf38c0705150822r4de09d80u6cc32d76c96eee47@mail.gmail.com
Whole thread Raw
In response to bitmap index and IS NULL predicate  (Jason Pinnix <pinnixjason@yahoo.com>)
List pgsql-performance
On 5/15/07, Jason Pinnix <pinnixjason@yahoo.com> wrote:
> Does the bitmap
> index not store a bit vector for the NULL value (i.e. a bit vector that
> contains a 1 for each row with a NULL value and 0 for other rows) ?

You should be able to do this with a conditional index:

  create index ... (col) where col is null;

Alexander.

pgsql-performance by date:

Previous
From: Jason Pinnix
Date:
Subject: bitmap index and IS NULL predicate
Next
From: "Daniel Cristian Cruz"
Date:
Subject: Re: Many to many join seems slow?