Re: Using index for IS NULL query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrus" <kobruleht2(at)hot(dot)ee>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Using index for IS NULL query
Date: 2008-11-11 20:45:15
Message-ID: 12244.1226436315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Andrus" <kobruleht2(at)hot(dot)ee> writes:
> Index is not used for
> is null

> How to fix ?

Update to something newer than 8.1 (specifically, you'll need 8.3).

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Kretschmer 2008-11-11 20:47:03 Re: Using index for IS NULL query
Previous Message Andrus 2008-11-11 19:55:55 Using index for IS NULL query