From: Alexander Staubo <alex@purefiction.net>
To: Jason Pinnix <pinnixjason@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: bitmap index and IS NULL predicate
Date: Tue, 15 May 2007 17:22:17 +0200
Message-ID: <88daf38c0705150822r4de09d80u6cc32d76c96eee47@mail.gmail.com> (raw)
In-Reply-To: <83589.1406.qm@web57312.mail.re1.yahoo.com>
References: <83589.1406.qm@web57312.mail.re1.yahoo.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: alex@purefiction.net, pinnixjason@yahoo.com
Subject: Re: bitmap index and IS NULL predicate
In-Reply-To: <88daf38c0705150822r4de09d80u6cc32d76c96eee47@mail.gmail.com>
References: <83589.1406.qm@web57312.mail.re1.yahoo.com> <88daf38c0705150822r4de09d80u6cc32d76c96eee47@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox