Re: Index not used with IS NULL - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Index not used with IS NULL
Date
Msg-id 20030216100708.J94589-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Index not used with IS NULL  (Dima Tkach <dmitry@openratings.com>)
Responses Re: Index not used with IS NULL  (Dima Tkach <dmitry@openratings.com>)
List pgsql-general
On Sat, 15 Feb 2003, Dima Tkach wrote:

> It would be a lot nicer if the default operators could handle that...
> Why can it not be done?

Jumping in... I usually use a partial index as a workaround.  Postgresql
will look at a partial index whose condition is IS NULL for queries of col
IS NULL.





pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Index not used with IS NULL
Next
From: Tom Lane
Date:
Subject: Re: In 7.3.1, will I be able to reindex toast?