Re: Analyze not doing anything?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Analyze not doing anything?
Date: 2004-02-05 20:23:16
Message-ID: 7011.1076012596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jim C. Nasby" <jim(at)nasby(dot)net> writes:
> I build a table to test the theory that PGSQL wouldn't use an index to
> satisfy 'SELECT * FROM table WHERE field IS NOT NULL'.

IS NULL/IS NOT NULL are not indexable operators.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-02-05 20:59:34 Re: Can LIKE use indexes or not?
Previous Message Joe Conway 2004-02-05 20:16:55 Re: dblink: rollback transaction