Re: index question - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: index question
Date
Msg-id 3F9DE31E.2080901@commandprompt.com
Whole thread Raw
In response to index question  ("Rick Gigger" <rick@alpinenetworking.com>)
List 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?

I have never heard that. There are some oddities with using an Index.
For example,
if you are using a bigint you need to '' the value or if you are using
an aggregrate function (mix/max)
you have to specify a where clause but I have not heard the one you have
mentioned.

Anybody else?

Sincerely,

Joshua Drake


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com
Editor-N-Chief - PostgreSQl.Org - http://www.postgresql.org



pgsql-general by date:

Previous
From: George Essig
Date:
Subject: Re: connectby
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [OT] Choosing a scripting language.