Re: index question

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rick Gigger <rick(at)alpinenetworking(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: index question
Date: 2003-10-28 01:54:22
Message-ID: 200310280154.h9S1sMW25612@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rick Gigger wrote:
> I have heard that postgres will not use an index unless the
> field has a not null constraint on it. Is that true?

To be specific, we do not do index NULL values in a column, but we
easily index non-null values in the column.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-10-28 01:59:19 Re: index question
Previous Message Lynn.Tilby 2003-10-28 01:25:46 EMBEDDED BUG?!?!?!?